package com.wicket.okrbff.biz.service.impl;

import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrbff.biz.service.BatchService;
import com.wicket.okrbff.biz.service.dto.common.BffBaseBatchDto;
import com.wicket.okrbff.biz.service.dto.common.BffTopBatchHisDto;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrbff.common.util.RedisUtil;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto;
import com.wicket.okrframework.integration.FwBaseBatchClient;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrframework.integration.FwBaseOrgClient;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;
import com.wicket.okrbff.common.exception.Assert;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrframework.integration.FwBasePowerClient;
import com.wicket.okrbff.common.util.CommonFunctionHelper;

import java.util.ArrayList;
import java.util.List;

import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrframework.integration.FwBaseDivineDataClient;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrbff.biz.service.dto.common.BffUnDocumentDeptDto;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class BatchServiceImpl implements BatchService {
    @Resource
    FwBaseBatchClient batchClient;
    @Resource
    FwBaseBatchClient fwBaseBatchClient;
    @Resource
    FwBaseInductionRecordClient fwBaseInductionRecordClient;
    @Resource
    FwBaseOrgClient fwBaseOrgClient;
    @Resource
    private RedisUtil redisUtil;
@Resource
  FwBasePowerClient fwBasePowerClient;
@Resource
  FwAppBatchClient fwAppBatchClient;
@Resource
  FwAppEvaThemeClient fwAppEvaThemeClient;
@Resource
  FwAppVirtualOrgClient fwAppVirtualOrgClient;
@Resource
  FwAppPowerClient fwAppPowerClient;
@Resource
  FwBaseDivineDataClient fwBaseDivineDataClient;
@Resource
  FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
FwAppExecuteProgressClient fwAppExecuteProgressClient;

    /**
     * B1-1发布组织批次（管理）[929]
     */
    @Trace(operationName = "B1-1发布组织批次（管理）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffReleaseOrgBatchRespDto releaseOrgBatch(BffReleaseOrgBatchReqDto reqDto) {


        //步骤0: D1-1发布底层框架服务批次	 - releaseBaseBatch
        ReleaseBaseBatchRespDto releaseBaseBatchRespDto = null;
        ReleaseBaseBatchReqDto releaseBaseBatchReqDto = new ReleaseBaseBatchReqDto();
        if (reqDto != null) {
            releaseBaseBatchReqDto.setBatchId(reqDto.getBatchId());//sourceId:19805_1
        }

        /*D1-1发布底层框架服务批次	[921]   */
        releaseBaseBatchRespDto = fwBaseBatchClient.releaseBaseBatch(releaseBaseBatchReqDto).getData();


        BffReleaseOrgBatchRespDto retData = new BffReleaseOrgBatchRespDto();


        return retData;
    }

    /**
     * B1-1删除组织批次（管理）[935]
     */
    @Trace(operationName = "B1-1删除组织批次（管理）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteOrgBatchRespDto deleteOrgBatch(BffDeleteOrgBatchReqDto reqDto) {


        //步骤0: D1-1删除底层框架服务批次 - deleteBaseBatch
        DeleteBaseBatchRespDto deleteBaseBatchRespDto = null;
        DeleteBaseBatchReqDto deleteBaseBatchReqDto = new DeleteBaseBatchReqDto();
        if (reqDto != null) {
            deleteBaseBatchReqDto.setBatchId(reqDto.getBatchId());//sourceId:47624_1
        }

        /*D1-1删除底层框架服务批次[936]   */
        deleteBaseBatchRespDto = fwBaseBatchClient.deleteBaseBatch(deleteBaseBatchReqDto).getData();


        BffDeleteOrgBatchRespDto retData = new BffDeleteOrgBatchRespDto();


        return retData;
    }

    /**
   * B1-1查询岗位类型批次列表（当前+未来，操作按钮判断）[1832]
   * gen by moon at 8/10/2022, 3:38:02 AM
   */
    @Trace(operationName = "B1-1查询岗位类型批次列表（当前+未来，操作按钮判断）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryStationTypeBatchFteListRespDto queryStationTypeBatchFteList(BffQueryStationTypeBatchFteListReqDto reqDto){
      
       
       QueryBaseBatchListRespDto queryBaseBatchListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D1-1查询底层框架服务批次列表 - queryBaseBatchList
     QueryBaseBatchListRespDto queryBaseBatchListRespDto = null;
    QueryBaseBatchListReqDto queryBaseBatchListReqDto=new QueryBaseBatchListReqDto();
  queryBaseBatchListReqDto.setPurposeTypeCode("STATION_TYPE");//sourceId:56310_1
queryBaseBatchListReqDto.setIsArchive("FALSE");//sourceId:56313_1
if(reqDto!=null){
      queryBaseBatchListReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//sourceId:56311_1
    }
  
    /*D1-1查询底层框架服务批次列表[264]   */
    Assert.isNull(queryBaseBatchListReqDto.getPurposeTypeCode(),"B1-1查询岗位类型批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-用途类型编码不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getAscriptionObjectId(),"B1-1查询岗位类型批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-归属对象ID不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getIsArchive(),"B1-1查询岗位类型批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-是否存档不能为空",false);
      queryBaseBatchListRespDto = fwBaseBatchClient.queryBaseBatchList(queryBaseBatchListReqDto).getData();
      
      queryBaseBatchListRespDto_1 = queryBaseBatchListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryBaseBatchListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryBaseBatchListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryBaseBatchListRespDto.getBaseBatchList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:56316_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryStationTypeBatchFteListRespDto retData = new BffQueryStationTypeBatchFteListRespDto();
  //todo master集合数量为0,请联系业务设计人员检查,是否设置了master集合?;关联关系如下:retData.getBaseBatchList().setBatchId(queryBaseBatchListRespDto_1.getBaseBatchList().getBatchId());retData.getBaseBatchList().setSubjectLifeCycle(queryBaseBatchListRespDto_1.getBaseBatchList().getSubjectLifeCycle());retData.getBaseBatchList().setIsFirst(queryBaseBatchListRespDto_1.getBaseBatchList().getIsFirst());retData.getBaseBatchList().setOperationInductionId(queryBaseBatchListRespDto_1.getBaseBatchList().getOperationInductionId());retData.getBaseBatchList().setOperateTime(queryBaseBatchListRespDto_1.getBaseBatchList().getOperateTime());retData.getBaseBatchList().setIdCardName(batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList().getIdCardName());retData.getBaseBatchList().setNickName(batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList().getNickName()) 
  

  
  
return retData;
  }

    /**
   * B1-1查询历史岗位类型批次列表（管理）[1831]
   * gen by moon at 8/10/2022, 3:38:01 AM
   */
    @Trace(operationName = "B1-1查询历史岗位类型批次列表（管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryStationTypeBatchListRespDto queryStationTypeBatchList(BffQueryStationTypeBatchListReqDto reqDto){
      
       
       QueryBaseBatchListRespDto queryBaseBatchListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D1-1查询底层框架服务批次列表 - queryBaseBatchList
     QueryBaseBatchListRespDto queryBaseBatchListRespDto = null;
    QueryBaseBatchListReqDto queryBaseBatchListReqDto=new QueryBaseBatchListReqDto();
  queryBaseBatchListReqDto.setPurposeTypeCode("STATION_TYPE");//sourceId:56300_1
queryBaseBatchListReqDto.setIsEditing("FALSE");//sourceId:56305_1
if(reqDto!=null){
      queryBaseBatchListReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//sourceId:56301_1
    }
  
    /*D1-1查询底层框架服务批次列表[264]   */
    Assert.isNull(queryBaseBatchListReqDto.getPurposeTypeCode(),"B1-1查询历史岗位类型批次列表（管理）-D1-1查询底层框架服务批次列表-用途类型编码不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getAscriptionObjectId(),"B1-1查询历史岗位类型批次列表（管理）-D1-1查询底层框架服务批次列表-归属对象ID不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getIsEditing(),"B1-1查询历史岗位类型批次列表（管理）-D1-1查询底层框架服务批次列表-是否未来不能为空",false);
      queryBaseBatchListRespDto = fwBaseBatchClient.queryBaseBatchList(queryBaseBatchListReqDto).getData();
      
      queryBaseBatchListRespDto_1 = queryBaseBatchListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryBaseBatchListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryBaseBatchListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryBaseBatchListRespDto.getBaseBatchList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:56307_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryStationTypeBatchListRespDto retData = new BffQueryStationTypeBatchListRespDto();
  //todo master集合数量为0,请联系业务设计人员检查,是否设置了master集合?;关联关系如下:retData.getBaseBatchList().setBatchId(queryBaseBatchListRespDto_1.getBaseBatchList().getBatchId());retData.getBaseBatchList().setBatchNumber(queryBaseBatchListRespDto_1.getBaseBatchList().getBatchNumber());retData.getBaseBatchList().setBatchName(queryBaseBatchListRespDto_1.getBaseBatchList().getBatchName());retData.getBaseBatchList().setSubjectLifeCycle(queryBaseBatchListRespDto_1.getBaseBatchList().getSubjectLifeCycle());retData.getBaseBatchList().setOperationInductionId(queryBaseBatchListRespDto_1.getBaseBatchList().getOperationInductionId());retData.getBaseBatchList().setOperateTime(queryBaseBatchListRespDto_1.getBaseBatchList().getOperateTime());retData.getBaseBatchList().setIdCardName(batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList().getIdCardName());retData.getBaseBatchList().setNickName(batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList().getNickName()) 
  

  
  
return retData;
  }

    /**
   * B1-3查询组织批次列表（当前+未来，操作按钮判断）[684]
   * gen by moon at 8/18/2022, 10:21:50 PM
   */
    @Trace(operationName = "B1-3查询组织批次列表（当前+未来，操作按钮判断）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryOrgBatchListRespDto queryOrgBatchList(BffQueryOrgBatchListReqDto reqDto){
      
       
       QueryBaseBatchListRespDto queryBaseBatchListRespDto_1 = null;
QueryOrgDetailComRespDto queryOrgDetailComRespDto_1 = null;
//步骤0: D1-1查询底层框架服务批次列表 - queryBaseBatchList
     QueryBaseBatchListRespDto queryBaseBatchListRespDto = null;
    QueryBaseBatchListReqDto queryBaseBatchListReqDto=new QueryBaseBatchListReqDto();
  queryBaseBatchListReqDto.setPurposeTypeCode("ORG");//sourceId:13564_1
queryBaseBatchListReqDto.setAscriptionObjectId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOrganizationId());//CURRENT_ORGID//sourceId:13565_1
queryBaseBatchListReqDto.setIsArchive("FALSE");//sourceId:17428_1
  
    /*D1-1查询底层框架服务批次列表[264]   */
    Assert.isNull(queryBaseBatchListReqDto.getPurposeTypeCode(),"B1-3查询组织批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-用途类型编码不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getAscriptionObjectId(),"B1-3查询组织批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-归属对象ID不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getIsArchive(),"B1-3查询组织批次列表（当前+未来，操作按钮判断）-D1-1查询底层框架服务批次列表-是否存档不能为空",false);
      queryBaseBatchListRespDto = fwBaseBatchClient.queryBaseBatchList(queryBaseBatchListReqDto).getData();
      
      queryBaseBatchListRespDto_1 = queryBaseBatchListRespDto;
    
//步骤1: D1-3查询组织详情(公共) - queryOrgDetailCom
     QueryOrgDetailComRespDto queryOrgDetailComRespDto = null;
    QueryOrgDetailComReqDto queryOrgDetailComReqDto=new QueryOrgDetailComReqDto();
  queryOrgDetailComReqDto.setOrganizationId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOrganizationId());//CURRENT_ORGID//sourceId:40145_1
  
    /*D1-3查询组织详情(公共)[800]   */
    Assert.isNull(queryOrgDetailComReqDto.getOrganizationId(),"B1-3查询组织批次列表（当前+未来，操作按钮判断）-D1-3查询组织详情(公共)-组织ID不能为空",false);
      queryOrgDetailComRespDto = fwBaseOrgClient.queryOrgDetailCom(queryOrgDetailComReqDto).getData();
      
      queryOrgDetailComRespDto_1 = queryOrgDetailComRespDto;
    
BffQueryOrgBatchListRespDto retData = new BffQueryOrgBatchListRespDto();
  if(queryBaseBatchListRespDto_1!=null){
      retData.setBaseBatchList(queryBaseBatchListRespDto_1.getBaseBatchList().stream().map(item -> BeanUtil.toBean(item, BffBaseBatchDto.class)).collect(Collectors.toList()));//sourceId:16354_1
    }
if(queryOrgDetailComRespDto_1!=null){
      retData.setCurrentManageObjectType(queryOrgDetailComRespDto_1.getCurrentManageObjectType());//sourceId:180414_1
retData.setManageLockStatus(queryOrgDetailComRespDto_1.getManageLockStatus());//sourceId:40246_1
retData.setReasonOfManageLock(queryOrgDetailComRespDto_1.getReasonOfManageLock());//sourceId:180395_1
retData.setUsingLockStatus(queryOrgDetailComRespDto_1.getUsingLockStatus());//sourceId:180394_1
retData.setReasonOfUsingLock(queryOrgDetailComRespDto_1.getReasonOfUsingLock());//sourceId:180396_1
    }
  

  
  
return retData;
  }

    /**
   * B1-1查询历史组织批次列表（管理）[263]
   * gen by moon at 8/23/2022, 1:11:37 AM
   */
    @Trace(operationName = "B1-1查询历史组织批次列表（管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryOrgBatchHisListRespDto queryOrgBatchHisList(BffQueryOrgBatchHisListReqDto reqDto){
      
       
       QueryBaseBatchListRespDto queryBaseBatchListRespDto_1 = null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D1-1查询底层框架服务批次列表 - queryBaseBatchList
     QueryBaseBatchListRespDto queryBaseBatchListRespDto = null;
    QueryBaseBatchListReqDto queryBaseBatchListReqDto=new QueryBaseBatchListReqDto();
  queryBaseBatchListReqDto.setPurposeTypeCode("ORG");//sourceId:19695_1
queryBaseBatchListReqDto.setIsEditing("FALSE");//sourceId:19812_1
if(reqDto!=null){
      queryBaseBatchListReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//sourceId:19696_1
    }
  
    /*D1-1查询底层框架服务批次列表[264]   */
    Assert.isNull(queryBaseBatchListReqDto.getPurposeTypeCode(),"B1-1查询历史组织批次列表（管理）-D1-1查询底层框架服务批次列表-用途类型编码不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getAscriptionObjectId(),"B1-1查询历史组织批次列表（管理）-D1-1查询底层框架服务批次列表-归属对象ID不能为空",false);
Assert.isNull(queryBaseBatchListReqDto.getIsEditing(),"B1-1查询历史组织批次列表（管理）-D1-1查询底层框架服务批次列表-是否未来不能为空",false);
      queryBaseBatchListRespDto = fwBaseBatchClient.queryBaseBatchList(queryBaseBatchListReqDto).getData();
      
      queryBaseBatchListRespDto_1 = queryBaseBatchListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryBaseBatchListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryBaseBatchListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryBaseBatchListRespDto.getBaseBatchList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:19690_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryOrgBatchHisListRespDto retData = new BffQueryOrgBatchHisListRespDto();
  //数据集融合
        if(queryBaseBatchListRespDto_1!= null && !CollectionUtil.isEmpty(queryBaseBatchListRespDto_1.getBaseBatchList())){
          for (BaseBatchDto baseBatchDto : queryBaseBatchListRespDto_1.getBaseBatchList()) {
              BffBaseBatchDto retElm = new BffBaseBatchDto();
             if(queryBaseBatchListRespDto_1!=null){
      retElm.setBatchId(baseBatchDto.getBatchId());//sourceId:7312_2
retElm.setBatchNumber(baseBatchDto.getBatchNumber());//sourceId:7313_2
retElm.setBatchName(baseBatchDto.getBatchName());//sourceId:7314_2
retElm.setBatchStartTime(baseBatchDto.getBatchStartTime());//sourceId:7315_2
retElm.setBatchEndTime(baseBatchDto.getBatchEndTime());//sourceId:7316_2
retElm.setSubjectLifeCycle(baseBatchDto.getSubjectLifeCycle());//sourceId:7319_2
retElm.setOperationInductionId(baseBatchDto.getOperationInductionId());//sourceId:76643_2
retElm.setOperateTime(baseBatchDto.getOperateTime());//sourceId:7318_2
    }
              retData.getBaseBatchList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(baseBatchDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:76641_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:76642_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:38670_2
    }
                }
            }
          }
        
          }
        }//sourceId:19718_1
  

  
  
return retData;
  }

    /**
   * B1-1新增组织批次（管理）[243]
   * gen by moon at 8/31/2022, 1:47:34 AM
   */
    @Trace(operationName = "B1-1新增组织批次（管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddOrgBatchRespDto addOrgBatch(BffAddOrgBatchReqDto reqDto){
      
       
       AddOrgBatchRespDto addOrgBatchRespDto_1 =null;
//步骤0: D1-1新增组织批次 - addOrgBatch
     AddOrgBatchRespDto addOrgBatchRespDto = null;
    AddOrgBatchReqDto addOrgBatchReqDto=new AddOrgBatchReqDto();
  if(reqDto!=null){
      addOrgBatchReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//sourceId:3534_1
    }
  
    /*D1-1新增组织批次[242]   */
    Assert.isNull(addOrgBatchReqDto.getAscriptionObjectId(),"B1-1新增组织批次（管理）-D1-1新增组织批次-归属对象ID不能为空",false);
      addOrgBatchRespDto = fwBaseBatchClient.addOrgBatch(addOrgBatchReqDto).getData();
      
      addOrgBatchRespDto_1 = addOrgBatchRespDto;
    
BffAddOrgBatchRespDto retData = new BffAddOrgBatchRespDto();
  if(addOrgBatchRespDto_1!=null){
      retData.setBatchId(addOrgBatchRespDto_1.getBatchId());//sourceId:246795_1
    }
  

  
  
return retData;
  }

    /**
   * B1-3发布岗位类型批次(管理）[1830]
   * gen by moon at 8/10/2022, 3:38:00 AM
   */
    @Trace(operationName = "B1-3发布岗位类型批次(管理）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseStationTypeBatchRespDto releaseStationTypeBatch(BffReleaseStationTypeBatchReqDto reqDto){
      
       
       BffReleaseStationTypeBatchRespDto retData = new BffReleaseStationTypeBatchRespDto();
  
  

  
  
return retData;
  }
/**
   * B1执行组织架构批次发布(管理)[3771]
   * gen by moon at 9/10/2022, 5:29:37 PM
   */
    @Trace(operationName = "B1执行组织架构批次发布(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementOrgBatchPublishRespDto implementOrgBatchPublish(BffImplementOrgBatchPublishReqDto reqDto){
      
       
       //步骤0: D1判断组织架构唯一权限(公共) - judgeOrgOnlyPowerCom
     JudgeOrgOnlyPowerComRespDto judgeOrgOnlyPowerComRespDto = null;
    JudgeOrgOnlyPowerComReqDto judgeOrgOnlyPowerComReqDto=new JudgeOrgOnlyPowerComReqDto();
  judgeOrgOnlyPowerComReqDto.setRoleCode("ORG_ADMIN");//CUSTOM_CONVENTION//sourceId:259676_1
judgeOrgOnlyPowerComReqDto.setPrivacyCode("MGT_ORG_POWER");//CUSTOM_CONVENTION//sourceId:259677_1
judgeOrgOnlyPowerComReqDto.setBatchMgtOperationType("RELEASE_EFFECT_OBJ");//sourceId:259678_1
        judgeOrgOnlyPowerComReqDto.setOrganizationId(reqDto.getOrganizationId());
  
    /*D1判断组织架构唯一权限(公共)[3877]   */
    Assert.isNull(judgeOrgOnlyPowerComReqDto.getOrganizationId(),"B1执行组织架构批次发布(管理)-D1判断组织架构唯一权限(公共)-组织ID不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getRoleCode(),"B1执行组织架构批次发布(管理)-D1判断组织架构唯一权限(公共)-角色标识不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getPrivacyCode(),"B1执行组织架构批次发布(管理)-D1判断组织架构唯一权限(公共)-权限标识不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getBatchMgtOperationType(),"B1执行组织架构批次发布(管理)-D1判断组织架构唯一权限(公共)-批次下管理操作类型不能为空",false);
      judgeOrgOnlyPowerComRespDto = fwBasePowerClient.judgeOrgOnlyPowerCom(judgeOrgOnlyPowerComReqDto).getData();
      Assert.isTrue(judgeOrgOnlyPowerComRespDto== null||  judgeOrgOnlyPowerComRespDto.getOutputNum() ==null,"返回值不能为空",false);
      
      
    
//步骤1: D1执行组织架构批次发布 - implementOrgBatchPublish
     ImplementOrgBatchPublishRespDto implementOrgBatchPublishRespDto = null;
    if(judgeOrgOnlyPowerComRespDto !=null){
          ImplementOrgBatchPublishReqDto implementOrgBatchPublishReqDto=new ImplementOrgBatchPublishReqDto();
  if(judgeOrgOnlyPowerComRespDto!=null){
      implementOrgBatchPublishReqDto.setBatchId(judgeOrgOnlyPowerComRespDto.getBatchId());//sourceId:179064_1
    }
if(reqDto!=null){
      implementOrgBatchPublishReqDto.setOrganizationId(reqDto.getOrganizationId());//sourceId:318752_1
    }
  
    /*D1执行组织架构批次发布[3721]   */
    Assert.isNull(implementOrgBatchPublishReqDto.getBatchId(),"B1执行组织架构批次发布(管理)-D1执行组织架构批次发布-批次ID不能为空",false);
Assert.isNull(implementOrgBatchPublishReqDto.getOrganizationId(),"B1执行组织架构批次发布(管理)-D1执行组织架构批次发布-组织ID不能为空",false);
      implementOrgBatchPublishRespDto = fwBaseBatchClient.implementOrgBatchPublish(implementOrgBatchPublishReqDto).getData();
      
      
      
           }
    
BffImplementOrgBatchPublishRespDto retData = new BffImplementOrgBatchPublishRespDto();
  
  

  
  
return retData;
  }
/**
   * B1执行组织架构撤销批次(管理)[3772]
   * gen by moon at 9/10/2022, 5:29:39 PM
   */
    @Trace(operationName = "B1执行组织架构撤销批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementOrgDeleteBatchRespDto implementOrgDeleteBatch(BffImplementOrgDeleteBatchReqDto reqDto){
      
       
       //步骤0: D1判断组织架构唯一权限(公共) - judgeOrgOnlyPowerCom
     JudgeOrgOnlyPowerComRespDto judgeOrgOnlyPowerComRespDto = null;
    JudgeOrgOnlyPowerComReqDto judgeOrgOnlyPowerComReqDto=new JudgeOrgOnlyPowerComReqDto();
  judgeOrgOnlyPowerComReqDto.setRoleCode("ORG_ADMIN");//CUSTOM_CONVENTION//sourceId:259634_1
judgeOrgOnlyPowerComReqDto.setPrivacyCode("MGT_ORG_POWER");//CUSTOM_CONVENTION//sourceId:259635_1
judgeOrgOnlyPowerComReqDto.setBatchMgtOperationType("CANCEL_REVISION_OBJ");//sourceId:259640_1
if(reqDto!=null){
      judgeOrgOnlyPowerComReqDto.setOrganizationId(reqDto.getOrganizationId());//sourceId:259636_1
    }
  
    /*D1判断组织架构唯一权限(公共)[3877]   */
    Assert.isNull(judgeOrgOnlyPowerComReqDto.getOrganizationId(),"B1执行组织架构撤销批次(管理)-D1判断组织架构唯一权限(公共)-组织ID不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getRoleCode(),"B1执行组织架构撤销批次(管理)-D1判断组织架构唯一权限(公共)-角色标识不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getPrivacyCode(),"B1执行组织架构撤销批次(管理)-D1判断组织架构唯一权限(公共)-权限标识不能为空",false);
Assert.isNull(judgeOrgOnlyPowerComReqDto.getBatchMgtOperationType(),"B1执行组织架构撤销批次(管理)-D1判断组织架构唯一权限(公共)-批次下管理操作类型不能为空",false);
      judgeOrgOnlyPowerComRespDto = fwBasePowerClient.judgeOrgOnlyPowerCom(judgeOrgOnlyPowerComReqDto).getData();
      Assert.isTrue(judgeOrgOnlyPowerComRespDto== null||  judgeOrgOnlyPowerComRespDto.getOutputNum() ==null,"返回值不能为空",false);
      
      
    
//步骤1: D1执行组织架构撤销批次 - implementOrgDeleteBatch
     ImplementOrgDeleteBatchRespDto implementOrgDeleteBatchRespDto = null;
    if(judgeOrgOnlyPowerComRespDto !=null){
          ImplementOrgDeleteBatchReqDto implementOrgDeleteBatchReqDto=new ImplementOrgDeleteBatchReqDto();
  if(judgeOrgOnlyPowerComRespDto!=null){
      implementOrgDeleteBatchReqDto.setBatchId(judgeOrgOnlyPowerComRespDto.getBatchId());//sourceId:179068_1
    }
if(reqDto!=null){
      implementOrgDeleteBatchReqDto.setOrganizationId(reqDto.getOrganizationId());//sourceId:320739_1
    }
  
    /*D1执行组织架构撤销批次[3722]   */
    Assert.isNull(implementOrgDeleteBatchReqDto.getBatchId(),"B1执行组织架构撤销批次(管理)-D1执行组织架构撤销批次-批次ID不能为空",false);
Assert.isNull(implementOrgDeleteBatchReqDto.getOrganizationId(),"B1执行组织架构撤销批次(管理)-D1执行组织架构撤销批次-组织ID不能为空",false);
      implementOrgDeleteBatchRespDto = fwBaseBatchClient.implementOrgDeleteBatch(implementOrgDeleteBatchReqDto).getData();
      
      
      
           }
    
BffImplementOrgDeleteBatchRespDto retData = new BffImplementOrgDeleteBatchRespDto();
  
  

  
  
return retData;
  }
/**
   * B1-1查询组织架构成员管理判断[3814]
   * gen by moon at 8/19/2022, 8:28:41 PM
   */
    @Trace(operationName = "B1-1查询组织架构成员管理判断")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryOrgStructureMgtSituationDetailRespDto queryOrgStructureMgtSituationDetail(BffQueryOrgStructureMgtSituationDetailReqDto reqDto){
      
       
       QueryCurrentUserRolePowerDetailComRespDto queryCurrentUserRolePowerDetailComRespDto_1 = null;
JudgeOrgStructureMgtSituationComRespDto judgeOrgStructureMgtSituationComRespDto_1 = null;
//步骤0: D1查询当前用户指定角色权限(公共) - queryCurrentUserRolePowerDetailCom
     QueryCurrentUserRolePowerDetailComRespDto queryCurrentUserRolePowerDetailComRespDto = null;
    QueryCurrentUserRolePowerDetailComReqDto queryCurrentUserRolePowerDetailComReqDto=new QueryCurrentUserRolePowerDetailComReqDto();
  queryCurrentUserRolePowerDetailComReqDto.setRoleCode("ORG_ADMIN");//CUSTOM_CONVENTION//sourceId:194315_1
queryCurrentUserRolePowerDetailComReqDto.setPrivacyCode("MGT_ORG_POWER");//CUSTOM_CONVENTION//sourceId:194316_1
  
    /*D1查询当前用户指定角色权限(公共)[3831]   */
    Assert.isNull(queryCurrentUserRolePowerDetailComReqDto.getRoleCode(),"B1-1查询组织架构成员管理判断-D1查询当前用户指定角色权限(公共)-角色标识不能为空",false);
Assert.isNull(queryCurrentUserRolePowerDetailComReqDto.getPrivacyCode(),"B1-1查询组织架构成员管理判断-D1查询当前用户指定角色权限(公共)-权限标识不能为空",false);
      queryCurrentUserRolePowerDetailComRespDto = fwBasePowerClient.queryCurrentUserRolePowerDetailCom(queryCurrentUserRolePowerDetailComReqDto).getData();
      
      queryCurrentUserRolePowerDetailComRespDto_1 = queryCurrentUserRolePowerDetailComRespDto;
    
//步骤1: D1判断组织架构管理情况(公共) - judgeOrgStructureMgtSituationCom
     JudgeOrgStructureMgtSituationComRespDto judgeOrgStructureMgtSituationComRespDto = null;
    JudgeOrgStructureMgtSituationComReqDto judgeOrgStructureMgtSituationComReqDto=new JudgeOrgStructureMgtSituationComReqDto();
  if(reqDto!=null){
      judgeOrgStructureMgtSituationComReqDto.setOrganizationId(reqDto.getOrganizationId());//sourceId:184231_1
    }
  
    /*D1判断组织架构管理情况(公共)[3813]   */
    Assert.isNull(judgeOrgStructureMgtSituationComReqDto.getOrganizationId(),"B1-1查询组织架构成员管理判断-D1判断组织架构管理情况(公共)-组织ID不能为空",false);
      judgeOrgStructureMgtSituationComRespDto = fwBaseBatchClient.judgeOrgStructureMgtSituationCom(judgeOrgStructureMgtSituationComReqDto).getData();
      
      judgeOrgStructureMgtSituationComRespDto_1 = judgeOrgStructureMgtSituationComRespDto;
    
BffQueryOrgStructureMgtSituationDetailRespDto retData = new BffQueryOrgStructureMgtSituationDetailRespDto();
  if(queryCurrentUserRolePowerDetailComRespDto_1!=null){
      retData.setOutputNum(queryCurrentUserRolePowerDetailComRespDto_1.getOutputNum());//sourceId:194321_1
    }
if(judgeOrgStructureMgtSituationComRespDto_1!=null){
      retData.setBatchId(judgeOrgStructureMgtSituationComRespDto_1.getBatchId());//sourceId:184258_1
retData.setBatchCurrentStatus(judgeOrgStructureMgtSituationComRespDto_1.getBatchCurrentStatus());//sourceId:184253_1
retData.setStartMgtObj(judgeOrgStructureMgtSituationComRespDto_1.getStartMgtObj());//sourceId:184245_1
retData.setSuspendedObj(judgeOrgStructureMgtSituationComRespDto_1.getSuspendedObj());//sourceId:184246_1
retData.setRestoreObj(judgeOrgStructureMgtSituationComRespDto_1.getRestoreObj());//sourceId:184247_1
retData.setLockReasonObj(judgeOrgStructureMgtSituationComRespDto_1.getLockReasonObj());//sourceId:184248_1
retData.setReleaseEffectObj(judgeOrgStructureMgtSituationComRespDto_1.getReleaseEffectObj());//sourceId:184249_1
retData.setCancelSetCompleteObj(judgeOrgStructureMgtSituationComRespDto_1.getCancelSetCompleteObj());//sourceId:184250_1
retData.setSetCompleteObj(judgeOrgStructureMgtSituationComRespDto_1.getSetCompleteObj());//sourceId:184251_1
retData.setCancelRevisionObj(judgeOrgStructureMgtSituationComRespDto_1.getCancelRevisionObj());//sourceId:184252_1
retData.setChangeRecordObj(judgeOrgStructureMgtSituationComRespDto_1.getChangeRecordObj());//sourceId:184255_1
retData.setFirstOperation(judgeOrgStructureMgtSituationComRespDto_1.getFirstOperation());//sourceId:213919_1
retData.setTrailingOperation(judgeOrgStructureMgtSituationComRespDto_1.getTrailingOperation());//sourceId:213920_1
retData.setMixtureOperation(judgeOrgStructureMgtSituationComRespDto_1.getMixtureOperation());//sourceId:213921_1
    }
  

  
  
return retData;
  }
/**
   * B1-1判断组织架构进入管理可用[3814]
   * gen by moon at 9/10/2022, 5:29:40 PM
   */
    @Trace(operationName = "B1-1判断组织架构进入管理可用")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffJudgeOrgStructureMgtUsableRespDto judgeOrgStructureMgtUsable(BffJudgeOrgStructureMgtUsableReqDto reqDto){
      
       
       QueryCurrentUserRolePowerDetailComRespDto queryCurrentUserRolePowerDetailComRespDto_1 =null;
JudgeOrgStructureMgtUsableComRespDto judgeOrgStructureMgtUsableComRespDto_1 =null;
//virtualUsage D1查询当前用户指定角色权限(公共)  14550
      QueryCurrentUserRolePowerDetailComRespDto queryCurrentUserRolePowerDetailComRespDto = null;
    QueryCurrentUserRolePowerDetailComReqDto queryCurrentUserRolePowerDetailComReqDto=new QueryCurrentUserRolePowerDetailComReqDto();
  queryCurrentUserRolePowerDetailComReqDto.setRoleCode("ORG_ADMIN");//CUSTOM_CONVENTION//sourceId:194315_1_14550
queryCurrentUserRolePowerDetailComReqDto.setPrivacyCode("MGT_ORG_POWER");//CUSTOM_CONVENTION//sourceId:194316_1_14550
  
    /*D1查询当前用户指定角色权限(公共)[3831]   */
    Assert.isNull(queryCurrentUserRolePowerDetailComReqDto.getRoleCode(),"B1-1判断组织架构进入管理可用-D1查询当前用户指定角色权限(公共)-角色标识不能为空",false);
Assert.isNull(queryCurrentUserRolePowerDetailComReqDto.getPrivacyCode(),"B1-1判断组织架构进入管理可用-D1查询当前用户指定角色权限(公共)-权限标识不能为空",false);
      queryCurrentUserRolePowerDetailComRespDto = fwBasePowerClient.queryCurrentUserRolePowerDetailCom(queryCurrentUserRolePowerDetailComReqDto).getData();
      
      
      queryCurrentUserRolePowerDetailComRespDto_1 = queryCurrentUserRolePowerDetailComRespDto;
if((queryCurrentUserRolePowerDetailComRespDto!= null&& queryCurrentUserRolePowerDetailComRespDto.getOutputNum() != null &&queryCurrentUserRolePowerDetailComRespDto!= null&& queryCurrentUserRolePowerDetailComRespDto.getOutputNum() == 1)) {
        //if((D1查询当前用户指定角色权限(公共).传输数值 值不等于空  and D1查询当前用户指定角色权限(公共).传输数值 等于 1))  14551
        
JudgeOrgStructureMgtUsableComRespDto judgeOrgStructureMgtUsableComRespDto = null;
    JudgeOrgStructureMgtUsableComReqDto judgeOrgStructureMgtUsableComReqDto=new JudgeOrgStructureMgtUsableComReqDto();
  if(reqDto!=null){
      judgeOrgStructureMgtUsableComReqDto.setOrganizationId(reqDto.getOrganizationId());//sourceId:184231_1_14552
    }
  
    /*D1判断组织架构进入管理可用(公共)[3813]   */
    Assert.isNull(judgeOrgStructureMgtUsableComReqDto.getOrganizationId(),"B1-1判断组织架构进入管理可用-D1判断组织架构进入管理可用(公共)-组织ID不能为空",false);
      judgeOrgStructureMgtUsableComRespDto = fwBaseBatchClient.judgeOrgStructureMgtUsableCom(judgeOrgStructureMgtUsableComReqDto).getData();
      
      
      judgeOrgStructureMgtUsableComRespDto_1 = judgeOrgStructureMgtUsableComRespDto;
//processBranchName:正常结束 ,processBranchId:14553
        
      }
BffJudgeOrgStructureMgtUsableRespDto retData = new BffJudgeOrgStructureMgtUsableRespDto();
  if(judgeOrgStructureMgtUsableComRespDto_1!=null){
      retData.setBatchCurrentStatus(judgeOrgStructureMgtUsableComRespDto_1.getBatchCurrentStatus());//sourceId:184253_1
retData.setBatchId(judgeOrgStructureMgtUsableComRespDto_1.getBatchId());//sourceId:184258_1
retData.setSuspendedObj(judgeOrgStructureMgtUsableComRespDto_1.getSuspendedObj());//sourceId:184246_1
retData.setRestoreObj(judgeOrgStructureMgtUsableComRespDto_1.getRestoreObj());//sourceId:184247_1
retData.setLockReasonObj(judgeOrgStructureMgtUsableComRespDto_1.getLockReasonObj());//sourceId:184248_1
retData.setStartMgtObj(judgeOrgStructureMgtUsableComRespDto_1.getStartMgtObj());//sourceId:184245_1
retData.setReleaseEffectObj(judgeOrgStructureMgtUsableComRespDto_1.getReleaseEffectObj());//sourceId:184249_1
retData.setCancelRevisionObj(judgeOrgStructureMgtUsableComRespDto_1.getCancelRevisionObj());//sourceId:184252_1
retData.setSetCompleteObj(judgeOrgStructureMgtUsableComRespDto_1.getSetCompleteObj());//sourceId:184251_1
retData.setCancelSetCompleteObj(judgeOrgStructureMgtUsableComRespDto_1.getCancelSetCompleteObj());//sourceId:184250_1
retData.setChangeRecordObj(judgeOrgStructureMgtUsableComRespDto_1.getChangeRecordObj());//sourceId:184255_1
retData.setFirstOperation(judgeOrgStructureMgtUsableComRespDto_1.getFirstOperation());//sourceId:213919_1
retData.setTrailingOperation(judgeOrgStructureMgtUsableComRespDto_1.getTrailingOperation());//sourceId:213920_1
retData.setMixtureOperation(judgeOrgStructureMgtUsableComRespDto_1.getMixtureOperation());//sourceId:213921_1
retData.setDeptStartMgt(judgeOrgStructureMgtUsableComRespDto_1.getDeptStartMgt());//sourceId:245623_1
retData.setDeptPreserveAchieve(judgeOrgStructureMgtUsableComRespDto_1.getDeptPreserveAchieve());//sourceId:245622_1
retData.setDeptChangeRecordObj(judgeOrgStructureMgtUsableComRespDto_1.getDeptChangeRecordObj());//sourceId:261691_1
retData.setDeptOperation(judgeOrgStructureMgtUsableComRespDto_1.getDeptOperation());//sourceId:254958_1
retData.setMemtMgtSence(judgeOrgStructureMgtUsableComRespDto_1.getMemtMgtSence());//sourceId:263077_1
    }
if(queryCurrentUserRolePowerDetailComRespDto_1!=null){
      retData.setOutputNum(queryCurrentUserRolePowerDetailComRespDto_1.getOutputNum());//sourceId:194321_1
    }
  

  
  
return retData;
  }
/**
   * B3-13查询评价模板当前及历史批次列表[2577]
   * gen by moon at 9/7/2022, 1:49:11 AM
   */
    @Trace(operationName = "B3-13查询评价模板当前及历史批次列表")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryEvaTempBatchHisAndPresentListRespDto queryEvaTempBatchHisAndPresentList(BffQueryEvaTempBatchHisAndPresentListReqDto reqDto){
      
       
       QueryEvaTempBatchHisAndPresentListRespDto queryEvaTempBatchHisAndPresentListRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
//步骤0: D3-13查询评价模板当前及历史批次列表 - queryEvaTempBatchHisAndPresentList
     QueryEvaTempBatchHisAndPresentListRespDto queryEvaTempBatchHisAndPresentListRespDto = null;
    QueryEvaTempBatchHisAndPresentListReqDto queryEvaTempBatchHisAndPresentListReqDto=new QueryEvaTempBatchHisAndPresentListReqDto();
  queryEvaTempBatchHisAndPresentListReqDto.setPurposeTypeCode("TOP_EVA_TEMP_MGT");//sourceId:180374_1
if(reqDto!=null){
      queryEvaTempBatchHisAndPresentListReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//sourceId:180376_1
    }
  
    /*D3-13查询评价模板当前及历史批次列表[3760]   */
    Assert.isNull(queryEvaTempBatchHisAndPresentListReqDto.getAscriptionObjectId(),"B3-13查询评价模板当前及历史批次列表-D3-13查询评价模板当前及历史批次列表-归属对象ID不能为空",false);
Assert.isNull(queryEvaTempBatchHisAndPresentListReqDto.getPurposeTypeCode(),"B3-13查询评价模板当前及历史批次列表-D3-13查询评价模板当前及历史批次列表-用途类型编码不能为空",false);
      queryEvaTempBatchHisAndPresentListRespDto = fwAppBatchClient.queryEvaTempBatchHisAndPresentList(queryEvaTempBatchHisAndPresentListReqDto).getData();
      
      
      queryEvaTempBatchHisAndPresentListRespDto_1 = queryEvaTempBatchHisAndPresentListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryEvaTempBatchHisAndPresentListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryEvaTempBatchHisAndPresentListRespDto!=null){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryEvaTempBatchHisAndPresentListRespDto.getTopBatchHisList().stream().map(item->item.getOperationInductionId())
        .collect(Collectors.toList()));//sourceId:180368_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();
      
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
BffQueryEvaTempBatchHisAndPresentListRespDto retData = new BffQueryEvaTempBatchHisAndPresentListRespDto();
  //数据集融合
        if(queryEvaTempBatchHisAndPresentListRespDto_1!= null && !CollectionUtil.isEmpty(queryEvaTempBatchHisAndPresentListRespDto_1.getTopBatchHisList()) ){
          for (TopBatchHisDto topBatchHisDto : queryEvaTempBatchHisAndPresentListRespDto_1.getTopBatchHisList()) {
              BffTopBatchHisDto retElm = new BffTopBatchHisDto();
             if(queryEvaTempBatchHisAndPresentListRespDto_1!=null){
      retElm.setBatchId(topBatchHisDto.getBatchCode());//sourceId:75946_2
retElm.setBatchNumber(topBatchHisDto.getBatchNumber());//sourceId:75947_2
retElm.setBatchName(topBatchHisDto.getBatchName());//sourceId:75948_2
retElm.setBatchStartTime(topBatchHisDto.getBatchStartTime());//sourceId:75949_2
retElm.setBatchEndTime(topBatchHisDto.getBatchEndTime());//sourceId:75950_2
retElm.setSubjectLifeCycle(topBatchHisDto.getSubjectLifeCycle());//sourceId:75952_2
retElm.setOperationInductionId(topBatchHisDto.getOperationInductionId());//sourceId:76615_2
retElm.setOperateTime(topBatchHisDto.getOperateTime());//sourceId:76616_2
    }
              retData.getTopBatchHisList().add(retElm);
               if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(topBatchHisDto.getOperationInductionId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserId(perOrgInductionRecordDto.getUserId());//sourceId:76631_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//sourceId:76628_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//sourceId:76627_2
    }
                }
            }
          }

          }
        }//sourceId:177721_1
  

  
  
return retData;
  }
/**
   * B3-3查询高层批次下进入管理判断(管理)[3828]
   * gen by moon at 2/21/2024, 5:28:58 PM
   */
    @Trace(operationName = "B3-3查询高层批次下进入管理判断(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryEvaTempMgtSituationDetailRespDto queryEvaTempMgtSituationDetail(BffQueryEvaTempMgtSituationDetailReqDto reqDto){
      
       
       QueryEvaTempMgtPowerDetailComRespDto queryEvaTempMgtPowerDetailComRespDto_1 =null;
JudgeEvaTempMgtSituationComRespDto judgeEvaTempMgtSituationComRespDto_1 =null;
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_5 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_7 =null;
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto_1 =null;
//virtualUsage D3-6查询评价模板管理权限详情(公共)  14554
      QueryEvaTempMgtPowerDetailComRespDto queryEvaTempMgtPowerDetailComRespDto = null;
    QueryEvaTempMgtPowerDetailComReqDto queryEvaTempMgtPowerDetailComReqDto=new QueryEvaTempMgtPowerDetailComReqDto();
  if(reqDto!=null){
      queryEvaTempMgtPowerDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:190912_1_14554
    }
  
    /*D3-6查询评价模板管理权限详情(公共)[3790]   */
    Assert.isNull(queryEvaTempMgtPowerDetailComReqDto.getEntityId(),"B3-3查询高层批次下进入管理判断(管理)-D3-6查询评价模板管理权限详情(公共)-目标ID不能为空",false);
      queryEvaTempMgtPowerDetailComRespDto = fwAppVirtualOrgClient.queryEvaTempMgtPowerDetailCom(queryEvaTempMgtPowerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryEvaTempMgtPowerDetailComRespDto_1 = queryEvaTempMgtPowerDetailComRespDto;
if((queryEvaTempMgtPowerDetailComRespDto!= null&&  queryEvaTempMgtPowerDetailComRespDto.getEnterMgtObj() !=null && queryEvaTempMgtPowerDetailComRespDto.getEnterMgtObj().equals("1"))) {
        //if(D3-6查询评价模板管理权限.进入管理 等于 1)  14555
        
JudgeEvaTempMgtSituationComRespDto judgeEvaTempMgtSituationComRespDto = null;
    if(queryEvaTempMgtPowerDetailComRespDto !=null){
    JudgeEvaTempMgtSituationComReqDto judgeEvaTempMgtSituationComReqDto=new JudgeEvaTempMgtSituationComReqDto();
  if(reqDto!=null){
      judgeEvaTempMgtSituationComReqDto.setTargetId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:905433_1_14556
judgeEvaTempMgtSituationComReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//SimpleFieldAssign//sourceId:190354_1_14556
    }
if(queryEvaTempMgtPowerDetailComRespDto!=null){
      judgeEvaTempMgtSituationComReqDto.setVirtualOrgInductionRecordId(queryEvaTempMgtPowerDetailComRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:823397_1_14556
    }

    /*D3判断评价模板批次管理情况(公共)[3820]   */
    Assert.isNull(judgeEvaTempMgtSituationComReqDto.getTargetId(),"B3-3查询高层批次下进入管理判断(管理)-D3判断评价模板批次管理情况(公共)-冗余目标ID不能为空",false);
Assert.isNull(judgeEvaTempMgtSituationComReqDto.getAscriptionObjectId(),"B3-3查询高层批次下进入管理判断(管理)-D3判断评价模板批次管理情况(公共)-评价模板ID不能为空",false);
Assert.isNull(judgeEvaTempMgtSituationComReqDto.getVirtualOrgInductionRecordId(),"B3-3查询高层批次下进入管理判断(管理)-D3判断评价模板批次管理情况(公共)-工作组管理员ID不能为空",false);
      judgeEvaTempMgtSituationComRespDto = fwAppBatchClient.judgeEvaTempMgtSituationCom(judgeEvaTempMgtSituationComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      judgeEvaTempMgtSituationComRespDto_1 = judgeEvaTempMgtSituationComRespDto;
           }
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto = null;
    QueryEvaTempDetailReqDto queryEvaTempDetailReqDto=new QueryEvaTempDetailReqDto();
  queryEvaTempDetailReqDto.setIsArchive("FALSE");//sourceId:190887_1_14557
if(reqDto!=null){
      queryEvaTempDetailReqDto.setEvaluationTemplateId(reqDto.getAscriptionObjectId());//SimpleFieldAssign//sourceId:190886_1_14557
    }

    /*D3-2查评价模板详情[3062]   */
    Assert.isNull(queryEvaTempDetailReqDto.getEvaluationTemplateId(),"B3-3查询高层批次下进入管理判断(管理)-D3-2查评价模板详情-评价模板ID不能为空",false);
    Assert.isNull(queryEvaTempDetailReqDto.getIsArchive(),"B3-3查询高层批次下进入管理判断(管理)-D3-2查评价模板详情-是否存档不能为空",false);
      queryEvaTempDetailRespDto = fwAppEvaThemeClient.queryEvaTempDetail(queryEvaTempDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(queryEvaTempDetailRespDto== null||  queryEvaTempDetailRespDto.getEvaluationTemplateId() ==null,"找不到数据，系统异常",false);
      
      queryEvaTempDetailRespDto_1 = queryEvaTempDetailRespDto;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("IS_OPEN_BUDGET");//CUSTOM_CONVENTION//sourceId:1557020_1_61613
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1557021_1_61613
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1557019_1_61613
    }
  
    /*D2查评价主题是否开启预算答案（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询高层批次下进入管理判断(管理)-D2查评价主题是否开启预算答案（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"B3-3查询高层批次下进入管理判断(管理)-D2查评价主题是否开启预算答案（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"B3-3查询高层批次下进入管理判断(管理)-D2查评价主题是否开启预算答案（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
           }
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
    if(queryEvaTempDetailRespDto !=null){
    QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("BUDGET_HIERARCHY");//CUSTOM_CONVENTION//sourceId:1557045_1_61614
queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1557046_1_61614
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1557044_1_61614
    }
  
    /*D2查预算设置层级答案（公共）[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(),"B3-3查询高层批次下进入管理判断(管理)-D2查预算设置层级答案（公共）-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(),"B3-3查询高层批次下进入管理判断(管理)-D2查预算设置层级答案（公共）-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(),"B3-3查询高层批次下进入管理判断(管理)-D2查预算设置层级答案（公共）-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_2 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;
           }
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_4 = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_2=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjType("EVA_TEMP");//sourceId:259133_1_14713
queryConfItemMatchAnswerDetailComReqDto_2.setConfItemCode("WEIGHT_SET_WAY");//CUSTOM_CONVENTION//sourceId:259132_1_14713
queryConfItemMatchAnswerDetailComReqDto_2.setIsPlatData("FALSE");//sourceId:324323_1_14713
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_2.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:259134_1_14713
    }

    /*D2-3查前端权重设置方式配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjId(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getResultAspObjType(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_2.getConfItemCode(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-配置项标识不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_4 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


      queryConfItemMatchAnswerDetailComRespDto_5 = queryConfItemMatchAnswerDetailComRespDto_4;
           }
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_6 = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_3=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjType("EVA_TEMP");//sourceId:414274_1_20815
queryConfItemMatchAnswerDetailComReqDto_3.setConfItemCode("TARGET_DIV_TIER_SET");//CUSTOM_CONVENTION//sourceId:414273_1_20815
queryConfItemMatchAnswerDetailComReqDto_3.setIsPlatData("FALSE");//sourceId:414285_1_20815
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_3.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:414275_1_20815
    }

    /*D2-3查评价模板目标分工层级编码答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjId(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板目标分工层级编码答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getResultAspObjType(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板目标分工层级编码答案-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_3.getConfItemCode(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板目标分工层级编码答案-配置项标识不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_6 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


      queryConfItemMatchAnswerDetailComRespDto_7 = queryConfItemMatchAnswerDetailComRespDto_6;
           }
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QuerySchemeMatchSingleResultToAnswerDetailComReqDto querySchemeMatchSingleResultToAnswerDetailComReqDto=new QuerySchemeMatchSingleResultToAnswerDetailComReqDto();
  querySchemeMatchSingleResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1123954_1_48588
if(reqDto!=null){
      querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjId(reqDto.getAscriptionObjectId());//SimpleFieldAssign//sourceId:1123941_1_48588
    }
if(queryEvaTempDetailRespDto!=null){
      querySchemeMatchSingleResultToAnswerDetailComReqDto.setConfSchemeId(queryEvaTempDetailRespDto.getConfSchemeId());//SimpleFieldAssign//sourceId:1124057_1_48588
    }

    /*D2-3查评价模板单选配置答案(满分制单位、分管领导设置策略、是否开启自定义汇报)[3101]   */
    Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板单选配置答案(满分制单位、分管领导设置策略、是否开启自定义汇报)-开通对象ID不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getConfSchemeId(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板单选配置答案(满分制单位、分管领导设置策略、是否开启自定义汇报)-配置方案ID 不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getIsPlatData(),"B3-3查询高层批次下进入管理判断(管理)-D2-3查评价模板单选配置答案(满分制单位、分管领导设置策略、是否开启自定义汇报)-是否标准答案不能为空",false);
      querySchemeMatchSingleResultToAnswerDetailComRespDto = fwCompConfSchemeClient.querySchemeMatchSingleResultToAnswerDetailCom(querySchemeMatchSingleResultToAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = querySchemeMatchSingleResultToAnswerDetailComRespDto;
           }
//processBranchName:正常结束 ,processBranchId:14558
        
      }
BffQueryEvaTempMgtSituationDetailRespDto retData = new BffQueryEvaTempMgtSituationDetailRespDto();
  if(queryEvaTempMgtPowerDetailComRespDto_1!=null){
      retData.setEnterMgtObj(queryEvaTempMgtPowerDetailComRespDto_1.getEnterMgtObj());//SimpleFieldAssign//sourceId:193650_1
    }
if(judgeEvaTempMgtSituationComRespDto_1!=null){
      retData.setStartMgtObj(judgeEvaTempMgtSituationComRespDto_1.getStartMgtObj());//SimpleFieldAssign//sourceId:190925_1
retData.setStepMenus(judgeEvaTempMgtSituationComRespDto_1.getStepMenus());//SimpleFieldAssign//sourceId:215631_1
retData.setStepItem(judgeEvaTempMgtSituationComRespDto_1.getStepItem());//SimpleFieldAssign//sourceId:215632_1
retData.setNotarizeTargetIssued(judgeEvaTempMgtSituationComRespDto_1.getNotarizeTargetIssued());//SimpleFieldAssign//sourceId:268162_1
retData.setDeptTargetWeightSet(judgeEvaTempMgtSituationComRespDto_1.getDeptTargetWeightSet());//SimpleFieldAssign//sourceId:215630_1
retData.setPlanStaffingAchieve(judgeEvaTempMgtSituationComRespDto_1.getPlanStaffingAchieve());//SimpleFieldAssign//sourceId:315109_1
retData.setReedit(judgeEvaTempMgtSituationComRespDto_1.getReedit());//SimpleFieldAssign//sourceId:315110_1
retData.setReleaseEffectObj(judgeEvaTempMgtSituationComRespDto_1.getReleaseEffectObj());//SimpleFieldAssign//sourceId:190922_1
retData.setSuspendedObj(judgeEvaTempMgtSituationComRespDto_1.getSuspendedObj());//SimpleFieldAssign//sourceId:190918_1
retData.setRestoreObj(judgeEvaTempMgtSituationComRespDto_1.getRestoreObj());//SimpleFieldAssign//sourceId:190919_1
retData.setChangeRecordObj(judgeEvaTempMgtSituationComRespDto_1.getChangeRecordObj());//SimpleFieldAssign//sourceId:190920_1
retData.setLockReasonObj(judgeEvaTempMgtSituationComRespDto_1.getLockReasonObj());//SimpleFieldAssign//sourceId:190923_1
retData.setCancelRevisionObj(judgeEvaTempMgtSituationComRespDto_1.getCancelRevisionObj());//SimpleFieldAssign//sourceId:190921_1
retData.setSetTargetPgsStatus(judgeEvaTempMgtSituationComRespDto_1.getSetTargetPgsStatus());//SimpleFieldAssign//sourceId:378433_1
retData.setSetDeptObjTaskWeight(judgeEvaTempMgtSituationComRespDto_1.getSetDeptObjTaskWeight());//SimpleFieldAssign//sourceId:1050849_1
retData.setRollbackPlanEditObj(judgeEvaTempMgtSituationComRespDto_1.getRollbackPlanEditObj());//SimpleFieldAssign//sourceId:825220_1
retData.setRollbackTargetDivObj(judgeEvaTempMgtSituationComRespDto_1.getRollbackTargetDivObj());//SimpleFieldAssign//sourceId:825221_1
retData.setEvaTempMgtSence(judgeEvaTempMgtSituationComRespDto_1.getEvaTempMgtSence());//SimpleFieldAssign//sourceId:825513_1
retData.setFirstOperation(judgeEvaTempMgtSituationComRespDto_1.getFirstOperation());//SimpleFieldAssign//sourceId:200205_1
retData.setTrailingOperation(judgeEvaTempMgtSituationComRespDto_1.getTrailingOperation());//SimpleFieldAssign//sourceId:200206_1
retData.setMixtureOperation(judgeEvaTempMgtSituationComRespDto_1.getMixtureOperation());//SimpleFieldAssign//sourceId:200207_1
retData.setBatchCode(judgeEvaTempMgtSituationComRespDto_1.getBatchCode());//SimpleFieldAssign//sourceId:190913_1
retData.setBatchCurrentStatus(judgeEvaTempMgtSituationComRespDto_1.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:190924_1
retData.setTargetPgsStatus(judgeEvaTempMgtSituationComRespDto_1.getTargetPgsStatus());//SimpleFieldAssign//sourceId:925900_1
retData.setMgtType(judgeEvaTempMgtSituationComRespDto_1.getMgtType());//SimpleFieldAssign//sourceId:624993_1
    }
if(queryEvaTempDetailRespDto_1!=null){
      retData.setEvaluationTemplateId(queryEvaTempDetailRespDto_1.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:190926_1
retData.setTargetId(queryEvaTempDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:190928_1
retData.setTargetCode(queryEvaTempDetailRespDto_1.getTargetCode());//SimpleFieldAssign//sourceId:216244_1
retData.setPeriodicModeTypeCode(queryEvaTempDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:216236_1
retData.setEvaluationTemplateTypeCode(queryEvaTempDetailRespDto_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1213370_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_7!=null){
      retData.setTargetDivTierCode(queryConfItemMatchAnswerDetailComRespDto_7.getEndValue());//SimpleFieldAssign//sourceId:414288_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_5!=null){
      retData.setWeightSetWay(queryConfItemMatchAnswerDetailComRespDto_5.getEndValue());//SimpleFieldAssign//sourceId:259142_1
retData.setWeightSetWayName(queryConfItemMatchAnswerDetailComRespDto_5.getConfOptionName());//SimpleFieldAssign//sourceId:259141_1
    }
if(querySchemeMatchSingleResultToAnswerDetailComRespDto_1!=null){
      retData.setIsOpenCustomReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:1213375_1
retData.setIsProgressTemp(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsProgressTemp());//SimpleFieldAssign//sourceId:1213376_1
retData.setConstTaskIsOpenReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1190481_1
retData.setDeptLeaderStrategy(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getDeptLeaderStrategy());//SimpleFieldAssign//sourceId:1135297_1
      retData.setTargetFullMarkUnit(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:1124063_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_1!=null){
      retData.setIsOpenBudget(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:1557023_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_3!=null){
      retData.setBudgetHierarchy(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:1557048_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询中层批次下进入管理判断(管理)[3829]
   * gen by moon at 11/4/2023, 12:59:55 PM
   */
    @Trace(operationName = "B3-3查询中层批次下进入管理判断(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryMidMgtSituationDetailRespDto queryMidMgtSituationDetail(BffQueryMidMgtSituationDetailReqDto reqDto){
      
       
       QueryMidBasicPersonalPowerDetailComRespDto queryMidBasicPersonalPowerDetailComRespDto_1 =null;
QueryMidMgtSituationDetailComRespDto queryMidMgtSituationDetailComRespDto_1 =null;
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 =null;
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto_1 =null;
//virtualUsage D3查询中基层个人管理权限详情(公共)  14559
      QueryMidBasicPersonalPowerDetailComRespDto queryMidBasicPersonalPowerDetailComRespDto = null;
    QueryMidBasicPersonalPowerDetailComReqDto queryMidBasicPersonalPowerDetailComReqDto=new QueryMidBasicPersonalPowerDetailComReqDto();
  queryMidBasicPersonalPowerDetailComReqDto.setPurposeTypeCode("MID_DIV_MGT");//sourceId:333519_1_14559
if(reqDto!=null){
      queryMidBasicPersonalPowerDetailComReqDto.setDeptId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:200229_1_14559
queryMidBasicPersonalPowerDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:200276_1_14559
queryMidBasicPersonalPowerDetailComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:333364_1_14559
    }
  
    /*D3查询中基层个人管理权限详情(公共)[3827]   */
    Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getDeptId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-部门ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getEvaluationTemplateId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-评价模板ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getTargetId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-冗余目标ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getPurposeTypeCode(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-用途类型编码不能为空",false);
      queryMidBasicPersonalPowerDetailComRespDto = fwAppPowerClient.queryMidBasicPersonalPowerDetailCom(queryMidBasicPersonalPowerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryMidBasicPersonalPowerDetailComRespDto_1 = queryMidBasicPersonalPowerDetailComRespDto;
if((queryMidBasicPersonalPowerDetailComRespDto!= null&& queryMidBasicPersonalPowerDetailComRespDto.getOutputNum() == 1L)) {
        //if(D3查询当前个人权限详情.传输数值 等于 1)  14560
        
QueryMidMgtSituationDetailComRespDto queryMidMgtSituationDetailComRespDto = null;
    if(queryMidBasicPersonalPowerDetailComRespDto !=null){
          QueryMidMgtSituationDetailComReqDto queryMidMgtSituationDetailComReqDto=new QueryMidMgtSituationDetailComReqDto();
  if(queryMidBasicPersonalPowerDetailComRespDto!=null){
      queryMidMgtSituationDetailComReqDto.setOutputNum(queryMidBasicPersonalPowerDetailComRespDto.getOutputNum());//SimpleFieldAssign//sourceId:329341_1_14561
queryMidMgtSituationDetailComReqDto.setIsAdmin(queryMidBasicPersonalPowerDetailComRespDto.getIsAdmin());//SimpleFieldAssign//sourceId:329419_1_14561
    }
if(reqDto!=null){
      queryMidMgtSituationDetailComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:190768_1_14561
queryMidMgtSituationDetailComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:190769_1_14561
queryMidMgtSituationDetailComReqDto.setBatchSetId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:312355_1_14561
    }
  
    /*D3查询中层批次管理情况(公共)[3823]   */
    Assert.isNull(queryMidMgtSituationDetailComReqDto.getEvaObjEntityId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中层批次管理情况(公共)-部门ID不能为空",false);
Assert.isNull(queryMidMgtSituationDetailComReqDto.getTargetId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中层批次管理情况(公共)-冗余目标ID不能为空",false);
Assert.isNull(queryMidMgtSituationDetailComReqDto.getBatchSetId(),"B3-3查询中层批次下进入管理判断(管理)-D3查询中层批次管理情况(公共)-评价模板ID不能为空",false);
      queryMidMgtSituationDetailComRespDto = fwAppBatchClient.queryMidMgtSituationDetailCom(queryMidMgtSituationDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryMidMgtSituationDetailComRespDto_1 = queryMidMgtSituationDetailComRespDto;
           }
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto = null;
    QueryEvaTempDetailReqDto queryEvaTempDetailReqDto=new QueryEvaTempDetailReqDto();
if(reqDto!=null){
      queryEvaTempDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:190722_1_14562
    }
  
    /*D3-2查评价模板详情[3062]   */
    Assert.isNull(queryEvaTempDetailReqDto.getEvaluationTemplateId(),"B3-3查询中层批次下进入管理判断(管理)-D3-2查评价模板详情-评价模板ID不能为空",false);
      queryEvaTempDetailRespDto = fwAppEvaThemeClient.queryEvaTempDetail(queryEvaTempDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(queryEvaTempDetailRespDto== null||  queryEvaTempDetailRespDto.getEvaluationTemplateId() ==null,"找不到数据，系统异常",false);
      
      queryEvaTempDetailRespDto_1 = queryEvaTempDetailRespDto;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:259144_1_14714
queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("WEIGHT_SET_WAY");//CUSTOM_CONVENTION//sourceId:259143_1_14714
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:324370_1_14714
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:259145_1_14714
    }
  
    /*D2-3查前端权重设置方式配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
           }
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("PROGRESS_OBJ_IS_REDO_ARRANGE");//CUSTOM_CONVENTION//sourceId:1120466_1_48494
queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1120467_1_48494
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1120465_1_48494
    }

    /*D2-3查主题下进度指标是否允许重复安排配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(),"B3-3查询中层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_2 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


      queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;
           }
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QuerySchemeMatchSingleResultToAnswerDetailComReqDto querySchemeMatchSingleResultToAnswerDetailComReqDto=new QuerySchemeMatchSingleResultToAnswerDetailComReqDto();
  querySchemeMatchSingleResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1213997_1_51221
if(queryEvaTempDetailRespDto!=null){
      querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1213996_1_51221
querySchemeMatchSingleResultToAnswerDetailComReqDto.setConfSchemeId(queryEvaTempDetailRespDto.getConfSchemeId());//SimpleFieldAssign//sourceId:1213998_1_51221
    }

    /*D2查模板单一配置答案（目标分工层级、是否开启自定义汇报、建设任务是否开启汇报、满分值单位）[3101]   */
    Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询中层批次下进入管理判断(管理)-D2查模板单一配置答案（目标分工层级、是否开启自定义汇报、建设任务是否开启汇报、满分值单位）-开通对象ID不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getConfSchemeId(),"B3-3查询中层批次下进入管理判断(管理)-D2查模板单一配置答案（目标分工层级、是否开启自定义汇报、建设任务是否开启汇报、满分值单位）-配置方案ID 不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getIsPlatData(),"B3-3查询中层批次下进入管理判断(管理)-D2查模板单一配置答案（目标分工层级、是否开启自定义汇报、建设任务是否开启汇报、满分值单位）-是否标准答案不能为空",false);
      querySchemeMatchSingleResultToAnswerDetailComRespDto = fwCompConfSchemeClient.querySchemeMatchSingleResultToAnswerDetailCom(querySchemeMatchSingleResultToAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = querySchemeMatchSingleResultToAnswerDetailComRespDto;
           }
      }
BffQueryMidMgtSituationDetailRespDto retData = new BffQueryMidMgtSituationDetailRespDto();
  if(queryMidBasicPersonalPowerDetailComRespDto_1!=null){
      retData.setEnterMgtObj(queryMidBasicPersonalPowerDetailComRespDto_1.getOutputNum());//SimpleFieldAssign//sourceId:200282_1
    }
if(queryMidMgtSituationDetailComRespDto_1!=null){
      retData.setStartMgtObj(queryMidMgtSituationDetailComRespDto_1.getStartMgtObj());//SimpleFieldAssign//sourceId:190714_1
retData.setStepMenus(queryMidMgtSituationDetailComRespDto_1.getStepMenus());//SimpleFieldAssign//sourceId:216321_1
retData.setStepItem(queryMidMgtSituationDetailComRespDto_1.getStepItem());//SimpleFieldAssign//sourceId:216322_1
retData.setChangeRecordObj(queryMidMgtSituationDetailComRespDto_1.getChangeRecordObj());//SimpleFieldAssign//sourceId:190721_1
retData.setMSetCompleteObj(queryMidMgtSituationDetailComRespDto_1.getMSetCompleteObj());//SimpleFieldAssign//sourceId:331348_1
retData.setMCancelSetCompleteObj(queryMidMgtSituationDetailComRespDto_1.getMCancelSetCompleteObj());//SimpleFieldAssign//sourceId:331349_1
retData.setExecuteTargetArrange(queryMidMgtSituationDetailComRespDto_1.getExecuteTargetArrange());//SimpleFieldAssign//sourceId:269517_1
retData.setSetCompleteObj(queryMidMgtSituationDetailComRespDto_1.getSetCompleteObj());//SimpleFieldAssign//sourceId:269518_1
retData.setCancelSetCompleteObj(queryMidMgtSituationDetailComRespDto_1.getCancelSetCompleteObj());//SimpleFieldAssign//sourceId:269519_1
retData.setTargetTaskDivision(queryMidMgtSituationDetailComRespDto_1.getTargetTaskDivision());//SimpleFieldAssign//sourceId:269520_1
retData.setRollbackLeaderTargetDivObj(queryMidMgtSituationDetailComRespDto_1.getRollbackLeaderTargetDivObj());//SimpleFieldAssign//sourceId:825321_1
retData.setRollbackExecuteTargetDivObj(queryMidMgtSituationDetailComRespDto_1.getRollbackExecuteTargetDivObj());//SimpleFieldAssign//sourceId:825322_1
retData.setAchieveArrange(queryMidMgtSituationDetailComRespDto_1.getAchieveArrange());//SimpleFieldAssign//sourceId:269521_1
retData.setEditTargetArrange(queryMidMgtSituationDetailComRespDto_1.getEditTargetArrange());//SimpleFieldAssign//sourceId:269522_1
retData.setReleaseEffectObj(queryMidMgtSituationDetailComRespDto_1.getReleaseEffectObj());//SimpleFieldAssign//sourceId:190717_1
retData.setCancelRevisionObj(queryMidMgtSituationDetailComRespDto_1.getCancelRevisionObj());//SimpleFieldAssign//sourceId:190718_1
retData.setLockReasonObj(queryMidMgtSituationDetailComRespDto_1.getLockReasonObj());//SimpleFieldAssign//sourceId:280114_1
retData.setFirstOperation(queryMidMgtSituationDetailComRespDto_1.getFirstOperation());//SimpleFieldAssign//sourceId:200212_1
retData.setTrailingOperation(queryMidMgtSituationDetailComRespDto_1.getTrailingOperation());//SimpleFieldAssign//sourceId:200213_1
retData.setMixtureOperation(queryMidMgtSituationDetailComRespDto_1.getMixtureOperation());//SimpleFieldAssign//sourceId:200214_1
retData.setLeadTargetArrangeRoom(queryMidMgtSituationDetailComRespDto_1.getLeadTargetArrangeRoom());//SimpleFieldAssign//sourceId:327730_1
retData.setExecuteTargetArrangeRoom(queryMidMgtSituationDetailComRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:327731_1
retData.setTargetTaskDivRoom(queryMidMgtSituationDetailComRespDto_1.getTargetTaskDivRoom());//SimpleFieldAssign//sourceId:327729_1
retData.setAchieveArrangeRoom(queryMidMgtSituationDetailComRespDto_1.getAchieveArrangeRoom());//SimpleFieldAssign//sourceId:327732_1
retData.setBatchCode(queryMidMgtSituationDetailComRespDto_1.getBatchCode());//SimpleFieldAssign//sourceId:190713_1
retData.setBatchCurrentStatus(queryMidMgtSituationDetailComRespDto_1.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:190720_1
retData.setEvaObjTargetCycleId(queryMidMgtSituationDetailComRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:190771_1
retData.setMgtType(queryMidMgtSituationDetailComRespDto_1.getMgtType());//SimpleFieldAssign//sourceId:645961_1
retData.setIsUnifiedMgt(queryMidMgtSituationDetailComRespDto_1.getIsUnifiedMgt());//SimpleFieldAssign//sourceId:874860_1
    }
if(queryEvaTempDetailRespDto_1!=null){
      retData.setEvaluationTemplateId(queryEvaTempDetailRespDto_1.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:190745_1
retData.setTargetId(queryEvaTempDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:190747_1
retData.setPeriodicModeTypeCode(queryEvaTempDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:216306_1
retData.setEvaluationTemplateTypeCode(queryEvaTempDetailRespDto_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1221588_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_1!=null){
      retData.setWeightSetWay(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:259153_1
retData.setWeightSetWayName(queryConfItemMatchAnswerDetailComRespDto_1.getConfOptionName());//SimpleFieldAssign//sourceId:259152_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_3!=null){
      retData.setProgressObjIsRedoArrange(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:1120469_1
    }
if(querySchemeMatchSingleResultToAnswerDetailComRespDto_1!=null){
      retData.setConstTaskIsOpenReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getConstTaskIsOpenReport());//SimpleFieldAssign//sourceId:1213995_1
retData.setTargetDivTierCode(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getTargetDivTierSet());//SimpleFieldAssign//sourceId:1213991_1
retData.setIsOpenCustomReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:1213993_1
retData.setIsProgressTemp(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsProgressTemp());//SimpleFieldAssign//sourceId:1221590_1
retData.setTargetFullMarkUnit(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:1214001_1
retData.setIsOpenBudget(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:1236278_1
retData.setBudgetHierarchy(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getBudgetHierarchy());//SimpleFieldAssign//sourceId:1236277_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询基层批次下进入管理判断(管理)[3830]
   * gen by moon at 11/4/2023, 1:00:01 PM
   */
    @Trace(operationName = "B3-3查询基层批次下进入管理判断(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryBasicMgtSituationDetailRespDto queryBasicMgtSituationDetail(BffQueryBasicMgtSituationDetailReqDto reqDto){
      
       
       QueryMidBasicPersonalPowerDetailComRespDto queryMidBasicPersonalPowerDetailComRespDto_1 =null;
QueryBasicMgtSituationDetailComRespDto queryBasicMgtSituationDetailComRespDto_1 =null;
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_1 =null;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_3 =null;
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto_1 =null;
//virtualUsage D3查询中基层个人管理权限详情(公共)  14564
      QueryMidBasicPersonalPowerDetailComRespDto queryMidBasicPersonalPowerDetailComRespDto = null;
    QueryMidBasicPersonalPowerDetailComReqDto queryMidBasicPersonalPowerDetailComReqDto=new QueryMidBasicPersonalPowerDetailComReqDto();
  queryMidBasicPersonalPowerDetailComReqDto.setPurposeTypeCode("BASIC_DIV_MGT");//sourceId:333518_1_14564
if(reqDto!=null){
      queryMidBasicPersonalPowerDetailComReqDto.setDeptId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:190795_1_14564
queryMidBasicPersonalPowerDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:200290_1_14564
queryMidBasicPersonalPowerDetailComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:333363_1_14564
    }
  
    /*D3查询中基层个人管理权限详情(公共)[3827]   */
    Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getDeptId(),"B3-3查询基层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-部门ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getEvaluationTemplateId(),"B3-3查询基层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-评价模板ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getTargetId(),"B3-3查询基层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-冗余目标ID不能为空",false);
Assert.isNull(queryMidBasicPersonalPowerDetailComReqDto.getPurposeTypeCode(),"B3-3查询基层批次下进入管理判断(管理)-D3查询中基层个人管理权限详情(公共)-用途类型编码不能为空",false);
      queryMidBasicPersonalPowerDetailComRespDto = fwAppPowerClient.queryMidBasicPersonalPowerDetailCom(queryMidBasicPersonalPowerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryMidBasicPersonalPowerDetailComRespDto_1 = queryMidBasicPersonalPowerDetailComRespDto;
if((queryMidBasicPersonalPowerDetailComRespDto!= null&& queryMidBasicPersonalPowerDetailComRespDto.getOutputNum() != null &&queryMidBasicPersonalPowerDetailComRespDto!= null&& queryMidBasicPersonalPowerDetailComRespDto.getOutputNum() == 1L)) {
        //if((D3查询当前个人权限详情.传输数值 值不等于空  and D3查询当前个人权限详情.传输数值 等于 1))  14565
        
QueryBasicMgtSituationDetailComRespDto queryBasicMgtSituationDetailComRespDto = null;
    if(queryMidBasicPersonalPowerDetailComRespDto !=null){
          QueryBasicMgtSituationDetailComReqDto queryBasicMgtSituationDetailComReqDto=new QueryBasicMgtSituationDetailComReqDto();
  if(reqDto!=null){
      queryBasicMgtSituationDetailComReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:190833_1_14566
queryBasicMgtSituationDetailComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:190834_1_14566
    }
if(queryMidBasicPersonalPowerDetailComRespDto!=null){
      queryBasicMgtSituationDetailComReqDto.setOutputNum(queryMidBasicPersonalPowerDetailComRespDto.getOutputNum());//SimpleFieldAssign//sourceId:329482_1_14566
queryBasicMgtSituationDetailComReqDto.setIsAdmin(queryMidBasicPersonalPowerDetailComRespDto.getIsAdmin());//SimpleFieldAssign//sourceId:329483_1_14566
    }
  
    /*D3查询基层批次管理情况(公共)[3824]   */
    Assert.isNull(queryBasicMgtSituationDetailComReqDto.getEvaObjEntityId(),"B3-3查询基层批次下进入管理判断(管理)-D3查询基层批次管理情况(公共)-部门ID不能为空",false);
Assert.isNull(queryBasicMgtSituationDetailComReqDto.getTargetId(),"B3-3查询基层批次下进入管理判断(管理)-D3查询基层批次管理情况(公共)-冗余目标ID不能为空",false);
      queryBasicMgtSituationDetailComRespDto = fwAppBatchClient.queryBasicMgtSituationDetailCom(queryBasicMgtSituationDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryBasicMgtSituationDetailComRespDto_1 = queryBasicMgtSituationDetailComRespDto;
           }
QueryEvaTempDetailRespDto queryEvaTempDetailRespDto = null;
    QueryEvaTempDetailReqDto queryEvaTempDetailReqDto=new QueryEvaTempDetailReqDto();
if(reqDto!=null){
      queryEvaTempDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:190800_1_14567
    }
  
    /*D3-2查评价模板详情[3062]   */
    Assert.isNull(queryEvaTempDetailReqDto.getEvaluationTemplateId(),"B3-3查询基层批次下进入管理判断(管理)-D3-2查评价模板详情-评价模板ID不能为空",false);
      queryEvaTempDetailRespDto = fwAppEvaThemeClient.queryEvaTempDetail(queryEvaTempDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(queryEvaTempDetailRespDto== null||  queryEvaTempDetailRespDto.getEvaluationTemplateId() ==null,"找不到数据，系统异常",false);
      
      queryEvaTempDetailRespDto_1 = queryEvaTempDetailRespDto;
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setResultAspObjType("EVA_TEMP");//sourceId:259155_1_14767
queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("WEIGHT_SET_WAY");//CUSTOM_CONVENTION//sourceId:259154_1_14767
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:324738_1_14767
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:259156_1_14767
    }
  
    /*D2-3查前端权重设置方式配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjType(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-开通对象类型编码不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查前端权重设置方式配置答案-配置项标识不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryConfItemMatchAnswerDetailComRespDto_1 = queryConfItemMatchAnswerDetailComRespDto;
           }
QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto_2 = null;
    if(queryEvaTempDetailRespDto !=null){
          QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto_1=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto_1.setConfItemCode("PROGRESS_OBJ_IS_REDO_ARRANGE");//CUSTOM_CONVENTION//sourceId:1120486_1_48495
queryConfItemMatchAnswerDetailComReqDto_1.setIsPlatData("FALSE");//sourceId:1120487_1_48495
if(queryEvaTempDetailRespDto!=null){
      queryConfItemMatchAnswerDetailComReqDto_1.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationSubjectId());//SimpleFieldAssign//sourceId:1120485_1_48495
    }

    /*D2-3查主题下进度指标是否允许重复安排配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getResultAspObjId(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getConfItemCode(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto_1.getIsPlatData(),"B3-3查询基层批次下进入管理判断(管理)-D2-3查主题下进度指标是否允许重复安排配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto_2 = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


      queryConfItemMatchAnswerDetailComRespDto_3 = queryConfItemMatchAnswerDetailComRespDto_2;
           }
QuerySchemeMatchSingleResultToAnswerDetailComRespDto querySchemeMatchSingleResultToAnswerDetailComRespDto = null;
    if(queryEvaTempDetailRespDto !=null){
          QuerySchemeMatchSingleResultToAnswerDetailComReqDto querySchemeMatchSingleResultToAnswerDetailComReqDto=new QuerySchemeMatchSingleResultToAnswerDetailComReqDto();
  querySchemeMatchSingleResultToAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:1214189_1_51222
if(queryEvaTempDetailRespDto!=null){
      querySchemeMatchSingleResultToAnswerDetailComReqDto.setResultAspObjId(queryEvaTempDetailRespDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1214187_1_51222
querySchemeMatchSingleResultToAnswerDetailComReqDto.setConfSchemeId(queryEvaTempDetailRespDto.getConfSchemeId());//SimpleFieldAssign//sourceId:1214188_1_51222
    }

    /*D2查模板单一配置答案（是否开启自定义汇报、满分值单位）[3101]   */
    Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getResultAspObjId(),"B3-3查询基层批次下进入管理判断(管理)-D2查模板单一配置答案（是否开启自定义汇报、满分值单位）-开通对象ID不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getConfSchemeId(),"B3-3查询基层批次下进入管理判断(管理)-D2查模板单一配置答案（是否开启自定义汇报、满分值单位）-配置方案ID 不能为空",false);
Assert.isNull(querySchemeMatchSingleResultToAnswerDetailComReqDto.getIsPlatData(),"B3-3查询基层批次下进入管理判断(管理)-D2查模板单一配置答案（是否开启自定义汇报、满分值单位）-是否标准答案不能为空",false);
      querySchemeMatchSingleResultToAnswerDetailComRespDto = fwCompConfSchemeClient.querySchemeMatchSingleResultToAnswerDetailCom(querySchemeMatchSingleResultToAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      querySchemeMatchSingleResultToAnswerDetailComRespDto_1 = querySchemeMatchSingleResultToAnswerDetailComRespDto;
           }
//processBranchName:正常结束 ,processBranchId:14568
        
      }
BffQueryBasicMgtSituationDetailRespDto retData = new BffQueryBasicMgtSituationDetailRespDto();
  if(queryMidBasicPersonalPowerDetailComRespDto_1!=null){
      retData.setEnterMgtObj(queryMidBasicPersonalPowerDetailComRespDto_1.getOutputNum());//SimpleFieldAssign//sourceId:200223_1
    }
if(queryBasicMgtSituationDetailComRespDto_1!=null){
      retData.setStartMgtObj(queryBasicMgtSituationDetailComRespDto_1.getStartMgtObj());//SimpleFieldAssign//sourceId:190867_1
retData.setStepMenus(queryBasicMgtSituationDetailComRespDto_1.getStepMenus());//SimpleFieldAssign//sourceId:216296_1
retData.setStepItem(queryBasicMgtSituationDetailComRespDto_1.getStepItem());//SimpleFieldAssign//sourceId:216297_1
retData.setLockReasonObj(queryBasicMgtSituationDetailComRespDto_1.getLockReasonObj());//SimpleFieldAssign//sourceId:271266_1
retData.setChangeRecordObj(queryBasicMgtSituationDetailComRespDto_1.getChangeRecordObj());//SimpleFieldAssign//sourceId:190874_1
retData.setSetCompleteObj(queryBasicMgtSituationDetailComRespDto_1.getSetCompleteObj());//SimpleFieldAssign//sourceId:332172_1
retData.setCancelSetCompleteObj(queryBasicMgtSituationDetailComRespDto_1.getCancelSetCompleteObj());//SimpleFieldAssign//sourceId:332173_1
retData.setTargetTaskDivision(queryBasicMgtSituationDetailComRespDto_1.getTargetTaskDivision());//SimpleFieldAssign//sourceId:271267_1
retData.setRollbackExecuteTargetDivObj(queryBasicMgtSituationDetailComRespDto_1.getRollbackExecuteTargetDivObj());//SimpleFieldAssign//sourceId:825334_1
retData.setAchieveArrange(queryBasicMgtSituationDetailComRespDto_1.getAchieveArrange());//SimpleFieldAssign//sourceId:271268_1
retData.setEditTargetArrange(queryBasicMgtSituationDetailComRespDto_1.getEditTargetArrange());//SimpleFieldAssign//sourceId:271269_1
retData.setReleaseEffectObj(queryBasicMgtSituationDetailComRespDto_1.getReleaseEffectObj());//SimpleFieldAssign//sourceId:190870_1
retData.setCancelRevisionObj(queryBasicMgtSituationDetailComRespDto_1.getCancelRevisionObj());//SimpleFieldAssign//sourceId:190871_1
retData.setFirstOperation(queryBasicMgtSituationDetailComRespDto_1.getFirstOperation());//SimpleFieldAssign//sourceId:200220_1
retData.setTrailingOperation(queryBasicMgtSituationDetailComRespDto_1.getTrailingOperation());//SimpleFieldAssign//sourceId:200221_1
retData.setMixtureOperation(queryBasicMgtSituationDetailComRespDto_1.getMixtureOperation());//SimpleFieldAssign//sourceId:200222_1
retData.setExecuteTargetArrangeRoom(queryBasicMgtSituationDetailComRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:328913_1
retData.setTargetTaskDivRoom(queryBasicMgtSituationDetailComRespDto_1.getTargetTaskDivRoom());//SimpleFieldAssign//sourceId:328912_1
retData.setAchieveArrangeRoom(queryBasicMgtSituationDetailComRespDto_1.getAchieveArrangeRoom());//SimpleFieldAssign//sourceId:328914_1
retData.setBatchCode(queryBasicMgtSituationDetailComRespDto_1.getBatchCode());//SimpleFieldAssign//sourceId:190866_1
retData.setBatchCurrentStatus(queryBasicMgtSituationDetailComRespDto_1.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:264119_1
retData.setEvaObjTargetCycleId(queryBasicMgtSituationDetailComRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:190865_1
retData.setMgtType(queryBasicMgtSituationDetailComRespDto_1.getMgtType());//SimpleFieldAssign//sourceId:645965_1
    }
if(queryEvaTempDetailRespDto_1!=null){
      retData.setEvaluationTemplateId(queryEvaTempDetailRespDto_1.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:190875_1
retData.setTargetId(queryEvaTempDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:190877_1
retData.setPeriodicModeTypeCode(queryEvaTempDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:216302_1
retData.setEvaluationTemplateTypeCode(queryEvaTempDetailRespDto_1.getEvaluationTemplateTypeCode());//SimpleFieldAssign//sourceId:1221586_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_1!=null){
      retData.setWeightSetWay(queryConfItemMatchAnswerDetailComRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:259816_1
      retData.setWeightSetWayName(queryConfItemMatchAnswerDetailComRespDto_1.getConfOptionName());//SimpleFieldAssign//sourceId:259815_1
    }
if(queryConfItemMatchAnswerDetailComRespDto_3!=null){
      retData.setProgressObjIsRedoArrange(queryConfItemMatchAnswerDetailComRespDto_3.getEndValue());//SimpleFieldAssign//sourceId:1120490_1
    }
if(querySchemeMatchSingleResultToAnswerDetailComRespDto_1!=null){
      retData.setTargetFullMarkUnit(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:1214192_1
retData.setIsOpenCustomReport(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:1214193_1
retData.setIsProgressTemp(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsProgressTemp());//SimpleFieldAssign//sourceId:1221587_1
retData.setIsOpenBudget(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getIsOpenBudget());//SimpleFieldAssign//sourceId:1236281_1
retData.setBudgetHierarchy(querySchemeMatchSingleResultToAnswerDetailComRespDto_1.getBudgetHierarchy());//SimpleFieldAssign//sourceId:1236282_1
    }


  
  
return retData;
  }
/**
   * B3执行评价模板批次发布(管理)[3685]
   * gen by moon at 7/14/2023, 12:28:48 AM
   */
    @Trace(operationName = "B3执行评价模板批次发布(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementPlanEvaBatchPublishRespDto implementPlanEvaBatchPublish(BffImplementPlanEvaBatchPublishReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47578
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_PUBLISH_BATCH");//CUSTOM_CONVENTION//sourceId:1086249_1_47578
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086248_1_47578
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086250_1_47578
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3执行评价模板批次发布(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3执行评价模板批次发布(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3执行评价模板批次发布(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47579

     ImplementTopBatchPublishRespDto implementTopBatchPublishRespDto = null;
    ImplementTopBatchPublishReqDto implementTopBatchPublishReqDto=new ImplementTopBatchPublishReqDto();
  if(reqDto!=null){
      implementTopBatchPublishReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:207713_1_47580
implementTopBatchPublishReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:207712_1_47580
    }
  
    /*D3-3执行高层批次发布[3882]   */
    Assert.isNull(implementTopBatchPublishReqDto.getTargetId(),"B3执行评价模板批次发布(管理)-D3-3执行高层批次发布-冗余目标ID不能为空",false);
    Assert.isNull(implementTopBatchPublishReqDto.getEvaluationTemplateId(),"B3执行评价模板批次发布(管理)-D3-3执行高层批次发布-冗余评价模板ID不能为空",false);
      implementTopBatchPublishRespDto = fwAppBatchClient.implementTopBatchPublish(implementTopBatchPublishReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffImplementPlanEvaBatchPublishRespDto retData = new BffImplementPlanEvaBatchPublishRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086252_1
    }
  

  
  
return retData;
  }
/**
   * B3执行评价模板撤销批次(管理)[3686]
   * gen by moon at 7/14/2023, 12:28:52 AM
   */
    @Trace(operationName = "B3执行评价模板撤销批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementPlanEvaDeleteBatchRespDto implementPlanEvaDeleteBatch(BffImplementPlanEvaDeleteBatchReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47572
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_REPEAL_BATCH");//CUSTOM_CONVENTION//sourceId:1086239_1_47572
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086238_1_47572
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086240_1_47572
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3执行评价模板撤销批次(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3执行评价模板撤销批次(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3执行评价模板撤销批次(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47573

     ImplementTopDeleteBatchRespDto implementTopDeleteBatchRespDto = null;
    ImplementTopDeleteBatchReqDto implementTopDeleteBatchReqDto=new ImplementTopDeleteBatchReqDto();
  if(reqDto!=null){
      implementTopDeleteBatchReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:206747_1_47574
implementTopDeleteBatchReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:206746_1_47574
    }
  
    /*D3-3执行高层撤销批次[3881]   */
    Assert.isNull(implementTopDeleteBatchReqDto.getTargetId(),"B3执行评价模板撤销批次(管理)-D3-3执行高层撤销批次-冗余目标ID不能为空",false);
Assert.isNull(implementTopDeleteBatchReqDto.getEvaluationTemplateId(),"B3执行评价模板撤销批次(管理)-D3-3执行高层撤销批次-冗余评价模板ID不能为空",false);
      implementTopDeleteBatchRespDto = fwAppBatchClient.implementTopDeleteBatch(implementTopDeleteBatchReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffImplementPlanEvaDeleteBatchRespDto retData = new BffImplementPlanEvaDeleteBatchRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086242_1
    }
  

  
  
return retData;
  }
/**
   * B3-3执行中层撤销批次(管理)[3839]
   * gen by moon at 7/14/2023, 12:29:02 AM
   */
    @Trace(operationName = "B3-3执行中层撤销批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementMidDeleteBatchRespDto implementMidDeleteBatch(BffImplementMidDeleteBatchReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47569
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_REPEAL_BATCH");//CUSTOM_CONVENTION//sourceId:1086234_1_47569
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1086233_1_47569
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086235_1_47569
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3-3执行中层撤销批次(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3-3执行中层撤销批次(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3-3执行中层撤销批次(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47570

     ImplementMidDeleteBatchRespDto implementMidDeleteBatchRespDto = null;
    ImplementMidDeleteBatchReqDto implementMidDeleteBatchReqDto=new ImplementMidDeleteBatchReqDto();
  if(reqDto!=null){
      implementMidDeleteBatchReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:206311_1_47571
implementMidDeleteBatchReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:206312_1_47571
implementMidDeleteBatchReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:206310_1_47571
implementMidDeleteBatchReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:206309_1_47571
    }
  
    /*D3执行中层撤销批次[3880]   */
Assert.isNull(implementMidDeleteBatchReqDto.getDeptId(),"B3-3执行中层撤销批次(管理)-D3执行中层撤销批次-部门ID不能为空",false);
Assert.isNull(implementMidDeleteBatchReqDto.getDeptTargetTaskBookId(),"B3-3执行中层撤销批次(管理)-D3执行中层撤销批次-部门目标任务书ID不能为空",false);
Assert.isNull(implementMidDeleteBatchReqDto.getTargetId(),"B3-3执行中层撤销批次(管理)-D3执行中层撤销批次-冗余目标ID不能为空",false);
Assert.isNull(implementMidDeleteBatchReqDto.getEvaluationTemplateId(),"B3-3执行中层撤销批次(管理)-D3执行中层撤销批次-冗余评价模板ID不能为空",false);
      implementMidDeleteBatchRespDto = fwAppBatchClient.implementMidDeleteBatch(implementMidDeleteBatchReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffImplementMidDeleteBatchRespDto retData = new BffImplementMidDeleteBatchRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086237_1
    }
  

  
  
return retData;
  }
/**
   * B3发布中层未来批次(管理)[2991]
   * gen by moon at 10/13/2023, 1:13:29 PM
   */
    @Trace(operationName = "B3发布中层未来批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseMidBatchFteRespDto releaseMidBatchFte(BffReleaseMidBatchFteReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
ImplementMidBasicPublishBatchAnalyseRespDto implementMidBasicPublishBatchAnalyseRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47584
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_PUBLISH_BATCH");//CUSTOM_CONVENTION//sourceId:1086260_1_47584
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1086259_1_47584
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086261_1_47584
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3发布中层未来批次(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3发布中层未来批次(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3发布中层未来批次(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
//virtualUsage D3执行中层后续批次发布分析  49829
      ImplementMidBasicPublishBatchAnalyseRespDto implementMidBasicPublishBatchAnalyseRespDto = null;
    ImplementMidBasicPublishBatchAnalyseReqDto implementMidBasicPublishBatchAnalyseReqDto=new ImplementMidBasicPublishBatchAnalyseReqDto();
  if(reqDto!=null){
      implementMidBasicPublishBatchAnalyseReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1168461_1_49829
implementMidBasicPublishBatchAnalyseReqDto.setEvaObjTargetCycleId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1168565_1_49829
implementMidBasicPublishBatchAnalyseReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1168460_1_49829
    }

    /*D3执行中层后续批次发布分析[7509]   */
    Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getDeptId(),"B3发布中层未来批次(管理)-D3执行中层后续批次发布分析-部门ID不能为空",false);
Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getEvaObjTargetCycleId(),"B3发布中层未来批次(管理)-D3执行中层后续批次发布分析-部门根节点ID不能为空",false);
Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getEvaluationTemplateId(),"B3发布中层未来批次(管理)-D3执行中层后续批次发布分析-冗余评价模板ID不能为空",false);
      implementMidBasicPublishBatchAnalyseRespDto = fwAppBatchClient.implementMidBasicPublishBatchAnalyse(implementMidBasicPublishBatchAnalyseReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementMidBasicPublishBatchAnalyseRespDto_1 = implementMidBasicPublishBatchAnalyseRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null&&implementMidBasicPublishBatchAnalyseRespDto!= null&&  implementMidBasicPublishBatchAnalyseRespDto.getUnDocumentDeptList() !=null && implementMidBasicPublishBatchAnalyseRespDto.getUnDocumentDeptList().size()==0)) {
        //if((D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空    and D3执行中层后续批次发布分析.未公开的部门列表数据集条数 等于 0))  47585

     ReleaseMidBatchFteRespDto releaseMidBatchFteRespDto = null;
    ReleaseMidBatchFteReqDto releaseMidBatchFteReqDto=new ReleaseMidBatchFteReqDto();
  if(reqDto!=null){
      releaseMidBatchFteReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:210492_1_47586
releaseMidBatchFteReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:210493_1_47586
releaseMidBatchFteReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:210494_1_47586
releaseMidBatchFteReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:210495_1_47586
    }
  
    /*D3-3发布中层未来批次[3883]   */
    Assert.isNull(releaseMidBatchFteReqDto.getDeptId(),"B3发布中层未来批次(管理)-D3-3发布中层未来批次-部门ID不能为空",false);
Assert.isNull(releaseMidBatchFteReqDto.getDeptTargetTaskBookId(),"B3发布中层未来批次(管理)-D3-3发布中层未来批次-部门目标任务书ID不能为空",false);
Assert.isNull(releaseMidBatchFteReqDto.getTargetId(),"B3发布中层未来批次(管理)-D3-3发布中层未来批次-冗余目标ID不能为空",false);
Assert.isNull(releaseMidBatchFteReqDto.getEvaluationTemplateId(),"B3发布中层未来批次(管理)-D3-3发布中层未来批次-冗余评价模板ID不能为空",false);
      releaseMidBatchFteRespDto = fwAppBatchClient.releaseMidBatchFte(releaseMidBatchFteReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffReleaseMidBatchFteRespDto retData = new BffReleaseMidBatchFteRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086263_1
    }
if(implementMidBasicPublishBatchAnalyseRespDto_1!=null){
      retData.setDeptId(implementMidBasicPublishBatchAnalyseRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:1171494_1
retData.setDeptShortName(implementMidBasicPublishBatchAnalyseRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:1171495_1
retData.setEvaluationTempShortName(implementMidBasicPublishBatchAnalyseRespDto_1.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:1171496_1
retData.setUnDocumentDeptList(implementMidBasicPublishBatchAnalyseRespDto_1.getUnDocumentDeptList().stream().map(item -> BeanUtil.toBean(item, BffUnDocumentDeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1171493_1
    }


  
  
return retData;
  }
/**
   * B3-3查中层批次使用锁定状态(管理)[3049]
   * gen by moon at 9/13/2022, 12:59:36 AM
   */
    @Trace(operationName = "B3-3查中层批次使用锁定状态(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryMidBatchRelatedSetDetailRespDto queryMidBatchRelatedSetDetail(BffQueryMidBatchRelatedSetDetailReqDto reqDto){
      
       
       QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto_1 =null;
//步骤0: D3-3查询评价模板批次设置 - queryPlanEvaBatchSetDetail
     QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
    QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto=new QueryPlanEvaBatchSetDetailReqDto();
  queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("MID_DIV_MGT");//sourceId:101601_1
if(reqDto!=null){
      queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:101594_1
    }
  
    /*D3-3查询评价模板批次设置[3005]   */
    Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(),"B3-3查中层批次使用锁定状态(管理)-D3-3查询评价模板批次设置-批次设置对象ID不能为空",false);
Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(),"B3-3查中层批次使用锁定状态(管理)-D3-3查询评价模板批次设置-批次设置对象类型不能为空",false);
      queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();
      
      
      queryPlanEvaBatchSetDetailRespDto_1 = queryPlanEvaBatchSetDetailRespDto;
    
BffQueryMidBatchRelatedSetDetailRespDto retData = new BffQueryMidBatchRelatedSetDetailRespDto();
  if(queryPlanEvaBatchSetDetailRespDto_1!=null){
      retData.setBatchRelatedSetId(queryPlanEvaBatchSetDetailRespDto_1.getBatchRelatedSetId());//sourceId:101845_1
retData.setUsingLockStatus(queryPlanEvaBatchSetDetailRespDto_1.getUsingLockStatus());//sourceId:101611_1
retData.setReasonOfUsingLock(queryPlanEvaBatchSetDetailRespDto_1.getReasonOfUsingLock());//sourceId:192354_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查高层模板使用状态(管理)[3050]
   * gen by moon at 9/13/2022, 12:59:38 AM
   */
    @Trace(operationName = "B3-3查高层模板使用状态(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTopBatchRelatedSetDetailRespDto queryTopBatchRelatedSetDetail(BffQueryTopBatchRelatedSetDetailReqDto reqDto){
      
       
       QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto_1 =null;
//步骤0: D3-3查询评价模板批次设置 - queryPlanEvaBatchSetDetail
     QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
    QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto=new QueryPlanEvaBatchSetDetailReqDto();
  queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("TOP_EVA_TEMP_MGT");//sourceId:101635_1
if(reqDto!=null){
      queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:101629_1
    }
  
    /*D3-3查询评价模板批次设置[3005]   */
    Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(),"B3-3查高层模板使用状态(管理)-D3-3查询评价模板批次设置-批次设置对象ID不能为空",false);
Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(),"B3-3查高层模板使用状态(管理)-D3-3查询评价模板批次设置-批次设置对象类型不能为空",false);
      queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();
      
      
      queryPlanEvaBatchSetDetailRespDto_1 = queryPlanEvaBatchSetDetailRespDto;
    
BffQueryTopBatchRelatedSetDetailRespDto retData = new BffQueryTopBatchRelatedSetDetailRespDto();
  if(queryPlanEvaBatchSetDetailRespDto_1!=null){
      retData.setBatchRelatedSetId(queryPlanEvaBatchSetDetailRespDto_1.getBatchRelatedSetId());//sourceId:166398_1
retData.setUsingLockStatus(queryPlanEvaBatchSetDetailRespDto_1.getUsingLockStatus());//sourceId:181655_1
retData.setReasonOfUsingLock(queryPlanEvaBatchSetDetailRespDto_1.getReasonOfUsingLock());//sourceId:181656_1
    }
  

  
  
return retData;
  }
/**
   * B3发布基层未来批次(管理)[3800]
   * gen by moon at 10/13/2023, 1:13:33 PM
   */
    @Trace(operationName = "B3发布基层未来批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReleaseBasicBatchFteRespDto releaseBasicBatchFte(BffReleaseBasicBatchFteReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
ImplementMidBasicPublishBatchAnalyseRespDto implementMidBasicPublishBatchAnalyseRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47581
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_PUBLISH_BATCH");//CUSTOM_CONVENTION//sourceId:1086254_1_47581
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:1086253_1_47581
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086255_1_47581
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3发布基层未来批次(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3发布基层未来批次(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3发布基层未来批次(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
//virtualUsage D3执行基层后续批次发布分析  49852
      ImplementMidBasicPublishBatchAnalyseRespDto implementMidBasicPublishBatchAnalyseRespDto = null;
    ImplementMidBasicPublishBatchAnalyseReqDto implementMidBasicPublishBatchAnalyseReqDto=new ImplementMidBasicPublishBatchAnalyseReqDto();
  if(reqDto!=null){
      implementMidBasicPublishBatchAnalyseReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1168561_1_49852
implementMidBasicPublishBatchAnalyseReqDto.setEvaObjTargetCycleId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:1168562_1_49852
implementMidBasicPublishBatchAnalyseReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1168560_1_49852
    }

    /*D3执行基层后续批次发布分析[7509]   */
    Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getDeptId(),"B3发布基层未来批次(管理)-D3执行基层后续批次发布分析-部门ID不能为空",false);
Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getEvaObjTargetCycleId(),"B3发布基层未来批次(管理)-D3执行基层后续批次发布分析-部门根节点ID不能为空",false);
Assert.isNull(implementMidBasicPublishBatchAnalyseReqDto.getEvaluationTemplateId(),"B3发布基层未来批次(管理)-D3执行基层后续批次发布分析-冗余评价模板ID不能为空",false);
      implementMidBasicPublishBatchAnalyseRespDto = fwAppBatchClient.implementMidBasicPublishBatchAnalyse(implementMidBasicPublishBatchAnalyseReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementMidBasicPublishBatchAnalyseRespDto_1 = implementMidBasicPublishBatchAnalyseRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null &&implementMidBasicPublishBatchAnalyseRespDto!= null&& implementMidBasicPublishBatchAnalyseRespDto.getDeptId() == null &&implementMidBasicPublishBatchAnalyseRespDto!= null&&  implementMidBasicPublishBatchAnalyseRespDto.getUnDocumentDeptList() !=null && implementMidBasicPublishBatchAnalyseRespDto.getUnDocumentDeptList().size()==0)) {
        //if((D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空  and D3执行基层后续批次发布分析.牵头部门ID 值等于空  and D3执行基层后续批次发布分析.未公开的部门列表数据集条数 等于 0))  47582

     ReleaseBasicBatchFteRespDto releaseBasicBatchFteRespDto = null;
    ReleaseBasicBatchFteReqDto releaseBasicBatchFteReqDto=new ReleaseBasicBatchFteReqDto();
  if(reqDto!=null){
      releaseBasicBatchFteReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:210221_1_47583
releaseBasicBatchFteReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:210222_1_47583
releaseBasicBatchFteReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:210223_1_47583
releaseBasicBatchFteReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:210224_1_47583
    }
  
    /*D3-3发布基层未来批次[3890]   */
    Assert.isNull(releaseBasicBatchFteReqDto.getDeptId(),"B3发布基层未来批次(管理)-D3-3发布基层未来批次-部门ID不能为空",false);
Assert.isNull(releaseBasicBatchFteReqDto.getDeptOkrTargetId(),"B3发布基层未来批次(管理)-D3-3发布基层未来批次-部门OKR目标ID不能为空",false);
Assert.isNull(releaseBasicBatchFteReqDto.getTargetId(),"B3发布基层未来批次(管理)-D3-3发布基层未来批次-冗余目标ID不能为空",false);
Assert.isNull(releaseBasicBatchFteReqDto.getEvaluationTemplateId(),"B3发布基层未来批次(管理)-D3-3发布基层未来批次-冗余评价模板ID不能为空",false);
      releaseBasicBatchFteRespDto = fwAppBatchClient.releaseBasicBatchFte(releaseBasicBatchFteReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffReleaseBasicBatchFteRespDto retData = new BffReleaseBasicBatchFteRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086257_1
    }
if(implementMidBasicPublishBatchAnalyseRespDto_1!=null){
      retData.setDeptId(implementMidBasicPublishBatchAnalyseRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:1171490_1
retData.setDeptShortName(implementMidBasicPublishBatchAnalyseRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:1171491_1
retData.setEvaluationTempShortName(implementMidBasicPublishBatchAnalyseRespDto_1.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:1171492_1
retData.setUnDocumentDeptList(implementMidBasicPublishBatchAnalyseRespDto_1.getUnDocumentDeptList().stream().map(item -> BeanUtil.toBean(item, BffUnDocumentDeptDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1171489_1
    }


  
  
return retData;
  }
/**
   * B3新增高层未来批次(管理)[3803]
   * gen by moon at 7/14/2023, 11:02:05 AM
   */
    @Trace(operationName = "B3新增高层未来批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddTopBatchFteRespDto addTopBatchFte(BffAddTopBatchFteReqDto reqDto){
      
       
       AddTopBatchFteRespDto addTopBatchFteRespDto_1 =null;
       //步骤0: D3-3新增高层未来批次 - addTopBatchFte
     AddTopBatchFteRespDto addTopBatchFteRespDto = null;
    AddTopBatchFteReqDto addTopBatchFteReqDto=new AddTopBatchFteReqDto();
  if(reqDto!=null){
      addTopBatchFteReqDto.setAscriptionObjectId(reqDto.getAscriptionObjectId());//SimpleFieldAssign//sourceId:193810_1
addTopBatchFteReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1025968_1
addTopBatchFteReqDto.setStepRoomValue(reqDto.getStepRoomValue());//SimpleFieldAssign//sourceId:336270_1
    }
  
    /*D3-3新增高层未来批次[3867]   */
    Assert.isNull(addTopBatchFteReqDto.getAscriptionObjectId(),"B3新增高层未来批次(管理)-D3-3新增高层未来批次-评价模板ID不能为空",false);
Assert.isNull(addTopBatchFteReqDto.getEntityId(),"B3新增高层未来批次(管理)-D3-3新增高层未来批次-目标ID不能为空",false);
Assert.isNull(addTopBatchFteReqDto.getStepRoomValue(),"B3新增高层未来批次(管理)-D3-3新增高层未来批次-进入步骤房间值不能为空",false);
      addTopBatchFteRespDto = fwAppBatchClient.addTopBatchFte(addTopBatchFteReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      addTopBatchFteRespDto_1 = addTopBatchFteRespDto;
    
BffAddTopBatchFteRespDto retData = new BffAddTopBatchFteRespDto();
  if(addTopBatchFteRespDto_1!=null){
      retData.setEvaTempStartMgtType(addTopBatchFteRespDto_1.getEvaTempStartMgtType());//SimpleFieldAssign//sourceId:1076249_1
retData.setStoryCopyWriter(addTopBatchFteRespDto_1.getStoryCopyWriter());//SimpleFieldAssign//sourceId:1086330_1
retData.setCustomField(addTopBatchFteRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086329_1
    }
  

  
  
return retData;
  }
/**
   * B3-3新增中层未来批次(管理)[3836]
   * gen by moon at 7/14/2023, 11:02:09 AM
   */
    @Trace(operationName = "B3-3新增中层未来批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddMidBatchFteRespDto addMidBatchFte(BffAddMidBatchFteReqDto reqDto){
      
       
       AddMidAndBasicBatchFteRespDto addMidAndBasicBatchFteRespDto_1 =null;
       //步骤0: D3-3新增中基层未来批次 - addMidAndBasicBatchFte
     AddMidAndBasicBatchFteRespDto addMidAndBasicBatchFteRespDto = null;
    AddMidAndBasicBatchFteReqDto addMidAndBasicBatchFteReqDto=new AddMidAndBasicBatchFteReqDto();
  addMidAndBasicBatchFteReqDto.setPurposeTypeCode("MID_DIV_MGT");//sourceId:192101_1
addMidAndBasicBatchFteReqDto.setBatchOperateScene("MID");//sourceId:336754_1
addMidAndBasicBatchFteReqDto.setUseTypeCode("USE_MID_ADD_BATCH");//CUSTOM_CONVENTION//sourceId:1077196_1
if(reqDto!=null){
      addMidAndBasicBatchFteReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:335479_1
addMidAndBasicBatchFteReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1076251_1
addMidAndBasicBatchFteReqDto.setStepRoomValue(reqDto.getStepRoomValue());//SimpleFieldAssign//sourceId:336264_1
addMidAndBasicBatchFteReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1076252_1
addMidAndBasicBatchFteReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1076253_1
    }
  
    /*D3-3新增中基层未来批次[3837]   */
    Assert.isNull(addMidAndBasicBatchFteReqDto.getEvaObjTargetCycleId(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-部门目标任务书ID或基层部门OKR目标ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getPurposeTypeCode(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-用途类型编码不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getDeptId(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-部门ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getStepRoomValue(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-进入步骤房间值不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getTargetId(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-冗余目标ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getEvaluationTemplateId(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-冗余评价模板ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getBatchOperateScene(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-高/中/基层操作场景不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getUseTypeCode(),"B3-3新增中层未来批次(管理)-D3-3新增中基层未来批次-用途类型编码不能为空",false);
      addMidAndBasicBatchFteRespDto = fwAppBatchClient.addMidAndBasicBatchFte(addMidAndBasicBatchFteReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      addMidAndBasicBatchFteRespDto_1 = addMidAndBasicBatchFteRespDto;
    
BffAddMidBatchFteRespDto retData = new BffAddMidBatchFteRespDto();
  if(addMidAndBasicBatchFteRespDto_1!=null){
      retData.setCustomField(addMidAndBasicBatchFteRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086306_1
retData.setEvaTempStartMgtType(addMidAndBasicBatchFteRespDto_1.getEvaTempStartMgtType());//SimpleFieldAssign//sourceId:1086307_1
//retData.setStoryCopyWriter(addMidAndBasicBatchFteRespDto_1.getStoryCopyWriter());//SimpleFieldAssign//sourceId:1086308_1
    }
  

  
  
return retData;
  }
/**
   * B3-3新增基层未来批次(管理)[3838]
   * gen by moon at 7/14/2023, 11:02:13 AM
   */
    @Trace(operationName = "B3-3新增基层未来批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddBasicBatchFteRespDto addBasicBatchFte(BffAddBasicBatchFteReqDto reqDto){
      
       
       AddMidAndBasicBatchFteRespDto addMidAndBasicBatchFteRespDto_1 =null;
       //步骤0: D3-3新增中基层未来批次 - addMidAndBasicBatchFte
     AddMidAndBasicBatchFteRespDto addMidAndBasicBatchFteRespDto = null;
    AddMidAndBasicBatchFteReqDto addMidAndBasicBatchFteReqDto=new AddMidAndBasicBatchFteReqDto();
  addMidAndBasicBatchFteReqDto.setPurposeTypeCode("BASIC_DIV_MGT");//sourceId:192106_1
addMidAndBasicBatchFteReqDto.setBatchOperateScene("BASIC");//sourceId:340358_1
addMidAndBasicBatchFteReqDto.setUseTypeCode("USE_BASIC_ADD_BATCH");//CUSTOM_CONVENTION//sourceId:1077174_1
if(reqDto!=null){
      addMidAndBasicBatchFteReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:336756_1
addMidAndBasicBatchFteReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1077171_1
addMidAndBasicBatchFteReqDto.setStepRoomValue(reqDto.getStepRoomValue());//SimpleFieldAssign//sourceId:336266_1
addMidAndBasicBatchFteReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1077172_1
addMidAndBasicBatchFteReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1077173_1
    }
  
    /*D3-3新增中基层未来批次[3837]   */
    Assert.isNull(addMidAndBasicBatchFteReqDto.getEvaObjTargetCycleId(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-部门目标任务书ID或基层部门OKR目标ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getPurposeTypeCode(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-用途类型编码不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getDeptId(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-部门ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getStepRoomValue(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-进入步骤房间值不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getTargetId(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-冗余目标ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getEvaluationTemplateId(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-冗余评价模板ID不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getBatchOperateScene(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-高/中/基层操作场景不能为空",false);
Assert.isNull(addMidAndBasicBatchFteReqDto.getUseTypeCode(),"B3-3新增基层未来批次(管理)-D3-3新增中基层未来批次-用途类型编码不能为空",false);
      addMidAndBasicBatchFteRespDto = fwAppBatchClient.addMidAndBasicBatchFte(addMidAndBasicBatchFteReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      addMidAndBasicBatchFteRespDto_1 = addMidAndBasicBatchFteRespDto;
    
BffAddBasicBatchFteRespDto retData = new BffAddBasicBatchFteRespDto();
  if(addMidAndBasicBatchFteRespDto_1!=null){
      retData.setCustomField(addMidAndBasicBatchFteRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086312_1
retData.setEvaTempStartMgtType(addMidAndBasicBatchFteRespDto_1.getEvaTempStartMgtType());//SimpleFieldAssign//sourceId:1086313_1
//retData.setStoryCopyWriter(addMidAndBasicBatchFteRespDto_1.getStoryCopyWriter());//SimpleFieldAssign//sourceId:1086314_1
    }
  

  
  
return retData;
  }
/**
   * B3-3执行基层撤销批次(管理)[3841]
   * gen by moon at 7/14/2023, 12:29:05 AM
   */
    @Trace(operationName = "B3-3执行基层撤销批次(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementBasicDeleteBatchRespDto implementBasicDeleteBatch(BffImplementBasicDeleteBatchReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47575
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_EVA_TEMP_REPEAL_BATCH");//CUSTOM_CONVENTION//sourceId:1086244_1_47575
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:1086243_1_47575
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086245_1_47575
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3-3执行基层撤销批次(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3-3执行基层撤销批次(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3-3执行基层撤销批次(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47576

     ImplementBasicDeleteBatchRespDto implementBasicDeleteBatchRespDto = null;
    ImplementBasicDeleteBatchReqDto implementBasicDeleteBatchReqDto=new ImplementBasicDeleteBatchReqDto();
  if(reqDto!=null){
      implementBasicDeleteBatchReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:209569_1_47577
implementBasicDeleteBatchReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:209570_1_47577
implementBasicDeleteBatchReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:209567_1_47577
implementBasicDeleteBatchReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:209568_1_47577
    }
  
    /*D3-3执行基层撤销批次[3884]   */
Assert.isNull(implementBasicDeleteBatchReqDto.getDeptId(),"B3-3执行基层撤销批次(管理)-D3-3执行基层撤销批次-部门ID不能为空",false);
Assert.isNull(implementBasicDeleteBatchReqDto.getDeptOkrTargetId(),"B3-3执行基层撤销批次(管理)-D3-3执行基层撤销批次-部门OKR目标ID不能为空",false);
Assert.isNull(implementBasicDeleteBatchReqDto.getTargetId(),"B3-3执行基层撤销批次(管理)-D3-3执行基层撤销批次-冗余目标ID不能为空",false);
Assert.isNull(implementBasicDeleteBatchReqDto.getEvaluationTemplateId(),"B3-3执行基层撤销批次(管理)-D3-3执行基层撤销批次-冗余评价模板ID不能为空",false);
      implementBasicDeleteBatchRespDto = fwAppBatchClient.implementBasicDeleteBatch(implementBasicDeleteBatchReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
      }
BffImplementBasicDeleteBatchRespDto retData = new BffImplementBasicDeleteBatchRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086247_1
    }
  

  
  
return retData;
  }
/**
   * B3-3暂停模板使用(管理)[3844]
   * gen by moon at 10/15/2022, 10:26:46 PM
   */
    @Trace(operationName = "B3-3暂停模板使用(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateSuspendedTempUseStateRespDto updateSuspendedTempUseState(BffUpdateSuspendedTempUseStateReqDto reqDto){
      
       
       //步骤0: D3-3修改评价模板使用锁定状态 - updateEvaTempUseLockState
     UpdateEvaTempUseLockStateRespDto updateEvaTempUseLockStateRespDto = null;
    UpdateEvaTempUseLockStateReqDto updateEvaTempUseLockStateReqDto=new UpdateEvaTempUseLockStateReqDto();
  updateEvaTempUseLockStateReqDto.setBatchOperateScene("TOP");//sourceId:379957_1
updateEvaTempUseLockStateReqDto.setEvaTempBatchMgtOperationType("SUSPENDED_OBJ");//sourceId:307094_1
updateEvaTempUseLockStateReqDto.setUsingLockStatus("COMMON_LOCK");//sourceId:212566_1
updateEvaTempUseLockStateReqDto.setReasonOfUsingLock("规划正在管理维护中，暂停使用，请耐心等待~~");//CUSTOM_CONVENTION//sourceId:212567_1
if(reqDto!=null){
      updateEvaTempUseLockStateReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:212564_1
updateEvaTempUseLockStateReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:212565_1
    }
  
    /*D3-3修改评价模板使用锁定状态[3845]   */
    Assert.isNull(updateEvaTempUseLockStateReqDto.getBatchOperateScene(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-高/中/基层操作场景不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getEvaTempBatchMgtOperationType(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-评价模板批次下管理操作类型不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getTargetId(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-冗余目标ID不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getEvaluationTemplateId(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-冗余评价模板ID不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getUsingLockStatus(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-使用锁定状态不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getReasonOfUsingLock(),"B3-3暂停模板使用(管理)-D3-3修改评价模板使用锁定状态-使用锁定原因不能为空",false);
      updateEvaTempUseLockStateRespDto = fwAppBatchClient.updateEvaTempUseLockState(updateEvaTempUseLockStateReqDto).getData();
      
      
      
    
BffUpdateSuspendedTempUseStateRespDto retData = new BffUpdateSuspendedTempUseStateRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3恢复模板使用(管理)[3847]
   * gen by moon at 10/15/2022, 10:26:48 PM
   */
    @Trace(operationName = "B3-3恢复模板使用(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateRestoreTempUseStateRespDto updateRestoreTempUseState(BffUpdateRestoreTempUseStateReqDto reqDto){
      
       
       //步骤0: D3-3修改评价模板使用锁定状态 - updateEvaTempUseLockState
     UpdateEvaTempUseLockStateRespDto updateEvaTempUseLockStateRespDto = null;
    UpdateEvaTempUseLockStateReqDto updateEvaTempUseLockStateReqDto=new UpdateEvaTempUseLockStateReqDto();
  updateEvaTempUseLockStateReqDto.setBatchOperateScene("TOP");//sourceId:379963_1
updateEvaTempUseLockStateReqDto.setEvaTempBatchMgtOperationType("RESTORE_OBJ");//sourceId:307095_1
updateEvaTempUseLockStateReqDto.setUsingLockStatus("UNLOCK");//sourceId:212574_1
updateEvaTempUseLockStateReqDto.setReasonOfUsingLock("---");//NULL//sourceId:212575_1
if(reqDto!=null){
      updateEvaTempUseLockStateReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:212572_1
updateEvaTempUseLockStateReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:212573_1
    }
  
    /*D3-3修改评价模板使用锁定状态[3845]   */
    Assert.isNull(updateEvaTempUseLockStateReqDto.getEvaTempBatchMgtOperationType(),"B3-3恢复模板使用(管理)-D3-3修改评价模板使用锁定状态-评价模板批次下管理操作类型不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getTargetId(),"B3-3恢复模板使用(管理)-D3-3修改评价模板使用锁定状态-冗余目标ID不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getEvaluationTemplateId(),"B3-3恢复模板使用(管理)-D3-3修改评价模板使用锁定状态-冗余评价模板ID不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getUsingLockStatus(),"B3-3恢复模板使用(管理)-D3-3修改评价模板使用锁定状态-使用锁定状态不能为空",false);
Assert.isNull(updateEvaTempUseLockStateReqDto.getReasonOfUsingLock(),"B3-3恢复模板使用(管理)-D3-3修改评价模板使用锁定状态-使用锁定原因不能为空",false);
      updateEvaTempUseLockStateRespDto = fwAppBatchClient.updateEvaTempUseLockState(updateEvaTempUseLockStateReqDto).getData();
      
      
      
    
BffUpdateRestoreTempUseStateRespDto retData = new BffUpdateRestoreTempUseStateRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3查评价模板发布进度情况(管理)[4019]
   * gen by moon at 5/31/2023, 8:23:31 PM
   */
    @Trace(operationName = "B3-3查评价模板发布进度情况(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryEvaTempPublishRateDetailRespDto queryEvaTempPublishRateDetail(BffQueryEvaTempPublishRateDetailReqDto reqDto){
      
       
       QueryEvaTempPublishRateDetailRespDto queryEvaTempPublishRateDetailRespDto_1 =null;
//步骤0: D3-3查询评价模板发布进度 - queryEvaTempPublishRateDetail
     QueryEvaTempPublishRateDetailRespDto queryEvaTempPublishRateDetailRespDto = null;
    QueryEvaTempPublishRateDetailReqDto queryEvaTempPublishRateDetailReqDto=new QueryEvaTempPublishRateDetailReqDto();
  if(reqDto!=null){
      queryEvaTempPublishRateDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:214410_1
queryEvaTempPublishRateDetailReqDto.setBatchSetObjectType(reqDto.getBatchSetObjectType());//SimpleFieldAssign//sourceId:280647_1
    }
  
    /*D3-3查询评价模板发布进度[4020]   */
    Assert.isNull(queryEvaTempPublishRateDetailReqDto.getBatchSetId(),"B3-3查评价模板发布进度情况(管理)-D3-3查询评价模板发布进度-批次设置对象ID不能为空",false);
Assert.isNull(queryEvaTempPublishRateDetailReqDto.getBatchSetObjectType(),"B3-3查评价模板发布进度情况(管理)-D3-3查询评价模板发布进度-批次设置对象类型不能为空",false);
      queryEvaTempPublishRateDetailRespDto = fwAppBatchClient.queryEvaTempPublishRateDetail(queryEvaTempPublishRateDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      Assert.isTrue(queryEvaTempPublishRateDetailRespDto== null||  queryEvaTempPublishRateDetailRespDto.getBatchRelatedSetId() ==null,"找不到数据，系统异常",false);
      
      queryEvaTempPublishRateDetailRespDto_1 = queryEvaTempPublishRateDetailRespDto;
    
BffQueryEvaTempPublishRateDetailRespDto retData = new BffQueryEvaTempPublishRateDetailRespDto();
  if(queryEvaTempPublishRateDetailRespDto_1!=null){
      retData.setBatchRelatedSetId(queryEvaTempPublishRateDetailRespDto_1.getBatchRelatedSetId());//SimpleFieldAssign//sourceId:214418_1
retData.setBatchProcessProgress(queryEvaTempPublishRateDetailRespDto_1.getBatchProcessProgress());//SimpleFieldAssign//sourceId:214427_1
retData.setDelBatchIsDone(queryEvaTempPublishRateDetailRespDto_1.getDelBatchIsDone());//SimpleFieldAssign//sourceId:214428_1
retData.setBackGroundAddress(CommonFunctionHelper.getFilePath(queryEvaTempPublishRateDetailRespDto_1.getBackGroundAddress()));//SimpleFieldAssign//sourceId:999064_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询基层批次使用锁定状态[3843]
   * gen by moon at 9/14/2022, 11:46:58 PM
   */
    @Trace(operationName = "B3-3查询基层批次使用锁定状态")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryBasicBatchSetDetailRespDto queryBasicBatchSetDetail(BffQueryBasicBatchSetDetailReqDto reqDto){
      
       
       QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto_1 =null;
//步骤0: D3-3查询评价模板批次设置 - queryPlanEvaBatchSetDetail
     QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
    QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto=new QueryPlanEvaBatchSetDetailReqDto();
  queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("BASIC_DIV_MGT");//sourceId:192359_1
if(reqDto!=null){
      queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:192355_1
    }
  
    /*D3-3查询评价模板批次设置[3005]   */
    Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(),"B3-3查询基层批次使用锁定状态-D3-3查询评价模板批次设置-批次设置对象ID不能为空",false);
Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(),"B3-3查询基层批次使用锁定状态-D3-3查询评价模板批次设置-批次设置对象类型不能为空",false);
      queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();
      
      
      queryPlanEvaBatchSetDetailRespDto_1 = queryPlanEvaBatchSetDetailRespDto;
    
BffQueryBasicBatchSetDetailRespDto retData = new BffQueryBasicBatchSetDetailRespDto();
  if(queryPlanEvaBatchSetDetailRespDto_1!=null){
      retData.setBatchRelatedSetId(queryPlanEvaBatchSetDetailRespDto_1.getBatchRelatedSetId());//sourceId:192365_1
retData.setUsingLockStatus(queryPlanEvaBatchSetDetailRespDto_1.getUsingLockStatus());//sourceId:192366_1
retData.setReasonOfUsingLock(queryPlanEvaBatchSetDetailRespDto_1.getReasonOfUsingLock());//sourceId:192367_1
    }
  

  
  
return retData;
  }
/**
   * B3查高中基层下发回退进度(管理)[6411]
   * gen by moon at 5/31/2023, 8:23:41 PM
   */
    @Trace(operationName = "B3查高中基层下发回退进度(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTopMidBasicIssueOrRollbackProgressDetailRespDto queryTopMidBasicIssueOrRollbackProgressDetail(BffQueryTopMidBasicIssueOrRollbackProgressDetailReqDto reqDto){


       QueryTopMidBasicIssueOrRollbackProgressDetailRespDto queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1 =null;
//步骤0: D3查高中基层下发回退进度 - queryTopMidBasicIssueOrRollbackProgressDetail
     QueryTopMidBasicIssueOrRollbackProgressDetailRespDto queryTopMidBasicIssueOrRollbackProgressDetailRespDto = null;
    QueryTopMidBasicIssueOrRollbackProgressDetailReqDto queryTopMidBasicIssueOrRollbackProgressDetailReqDto=new QueryTopMidBasicIssueOrRollbackProgressDetailReqDto();
  if(reqDto!=null){
      queryTopMidBasicIssueOrRollbackProgressDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:872981_1
queryTopMidBasicIssueOrRollbackProgressDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:872982_1
    }

    /*D3查高中基层下发回退进度[6412]   */
    Assert.isNull(queryTopMidBasicIssueOrRollbackProgressDetailReqDto.getBatchSetId(),"B3查高中基层下发回退进度(管理)-D3查高中基层下发回退进度-批次设置对象ID不能为空",false);
Assert.isNull(queryTopMidBasicIssueOrRollbackProgressDetailReqDto.getEvaluationTemplateId(),"B3查高中基层下发回退进度(管理)-D3查高中基层下发回退进度-冗余评价模板ID不能为空",false);
      queryTopMidBasicIssueOrRollbackProgressDetailRespDto = fwAppBatchClient.queryTopMidBasicIssueOrRollbackProgressDetail(queryTopMidBasicIssueOrRollbackProgressDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1 = queryTopMidBasicIssueOrRollbackProgressDetailRespDto;

BffQueryTopMidBasicIssueOrRollbackProgressDetailRespDto retData = new BffQueryTopMidBasicIssueOrRollbackProgressDetailRespDto();
  if(queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1!=null){
      retData.setBatchRelatedSetId(queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1.getBatchRelatedSetId());//SimpleFieldAssign//sourceId:872990_1
retData.setObjectiveDistributeProgress(queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1.getObjectiveDistributeProgress());//SimpleFieldAssign//sourceId:872991_1
retData.setObjectiveDistributeDone(queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1.getObjectiveDistributeDone());//SimpleFieldAssign//sourceId:872992_1
retData.setBackGroundAddress(queryTopMidBasicIssueOrRollbackProgressDetailRespDto_1.getBackGroundAddress());//SimpleFieldAssign//sourceId:999078_1
    }




return retData;
  }

    //
}
